Topic-icon Styling - themes - sc_bootstrap

Active Subscriptions:

None
6 years 2 months ago #63466 by navarre
I have reached a point where I have successfully made a number of changes to the styling by editing\adding properties to my theme file.

But I am struggling with a couple of things where the property is coming from the sc_bootstrap.css

eg the Login Button colour - Chrome tells me that the rule is coming from line 2577 of the sc_bootstrap file - and if I directly edit the rule at that line - yes it is shown on my page.

But - but if I copy the rule and paste it to my theme file - reset the sc_bootrap back to original - the site still looks to the bootstrap (Even if I use the !important rule)

I think I have missed something simple - but I cant see what.

What is the right way of modifying rules that originate from the sc_bootstrap stylesheet?
The topic has been locked.
Support Specialist
6 years 2 months ago #63468 by alzander
You should be able to do the !important tag, but the best method to override styles from that file is to target the element better. So, instead of just targetting 'row', add a style for 'row login' to get the sub-element of login underneath the 'row' element.

If you can provide the style name that you're trying to override, that may help us understand better.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 2 months ago #63507 by navarre
Mea Culpa - - - - - - I made a very simple mistake - and then failed to see my introduced error. <oops>

I had deleted a closing brace on an element just before the entries I was working on. Of course this made the file beyond that point just useless text.

Sometimes taking a break to step away - - - and or a quick check with a CSS validation tool :-) Helps you see the obvious.

Many thanks for the response - and for creating this very useful addition to Joomla.
The topic has been locked.
Support Specialist
6 years 2 months ago #63510 by mel
Replied by mel on topic Styling - themes - sc_bootstrap
No worries. Glad you were able to find the issue and resolve it :)

-Melissa
The topic has been locked.