I have a weird problem where the text colour on my tab names has become pink & I cannot workout what is causing it or how to fix it (without a complete rebuild of my environment). I have imported various sample solutions from Servoy GitHub, so I think something from one of those has affected something…
They look like this[attachment=1]IncorrectBSTabs_315x123.png[/attachment]
But when I used a completely fresh install, they look like this, which is correct
[attachment=0]CorrectBSTabs_293x96.png[/attachment]
Any ideas what I need to set in my CSS file or remove?
This is completely handled by CSS.
So you probably have included a solution which has some css file that implements it.
You can double check using the DOM inspector in your browser, or by looking at css files included by your solution or its modules.
The style selectors for the tabpanbel tabs all start with “nav_tabs”
More info on the wiki page for this
Hi Sean,
thanks for the reply.
I have done a search for ‘nav-tabs’ and cannot find anywhere in the solution files where that is being set and cannot find anything 8-(
I added
.nav-tabs > li.disabled
{
color: blue;
}
still no good
I looked at the Inspector in Safari and found this
[attachment=0]Inspector.png[/attachment]
but I’m not sure I am any the wiser from that… It looks to me like it is using the standard Servoy styles.
I will experiment more when back in the office, but I’m not hopeful
Please try chrome inspector and identify the source css file for the element’s styling (see screenshot)
I also notice that you don’t have the “a” tab in your style sheet.
Please try chrome inspector and identify the source css file for the element’s styling (see screenshot)
I also notice that you don’t have the “a” tab in your style sheet.
So something like:
.nav-tabs > li > a
{
color: blue;
}
I don’t know CSS, so don’t know what I do or don’t need, like the ‘a’ tab???
I tried that, but it made no difference, so I removed any code I had in CSS for nav-tabs and then took this shot from Chrome, I hope it helps
[attachment=0]Screen Shot 2017-04-24 at 14.50.08_1291x853.png[/attachment]
Thanks
Rafi
I’ve confirmed that it is from the ‘servoysample.zip’ added as a ‘web package as a project’ (it holds the cardboard, imagefield & searchbar components used in the svySampleCRM).
Doesn’t the styleSheet property set for the solution take priority over others that might be set in components or sub modules?? (If not, can it??)
Thanks
Rafi