Styling - themes - sc_bootstrap

Styling - themes - sc_bootstrap

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?

navarre
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Styling - themes - sc_bootstrap

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24066 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Styling - themes - sc_bootstrap

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.

navarre
useravatar
Offline
2 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Styling - themes - sc_bootstrap

No worries. Glad you were able to find the issue and resolve it current/smile

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3597 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11642
Total Polls:
0
Total Posts:
48913
Posts today:
10
User Info
 
Total Users:
47755
Newest User:
meda
Members Online:
2
Guests Online:
554

Online: 
djyann, marboe1
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program