Child CSS not overriding Parent

Posted in: Newspaper
Post count: 45

I uploaded and activated the child theme but anything I put in my style.css doesn’t seem to work. What can the problem be and how to fix it ?

Post count: 45

When trying to use Custom CSS just on the parent theme, it doesn’t seem to apply either.
I have this:

.header-style-3 .td-logo img {
padding-top: 15px;
padding-bottom: 15px;}

.header-style-3 .container-fluid {
margin-top: 15px;
margin-bottom: 15px;
text-align: left !important;}

.sf-menu {
float: center !important;
text-align: center !important;}

But it’s not working. What can I do ??

Post count: 3343

Hi,
Your CSS selector are incorrect

Try this:

.header-style-3 .td-logo {
padding-top: 15px;
padding-bottom: 15px;}

This don’t exist: float:center

Thanks for your message!

Post count: 45

Oh okay thanks.

So I need to type a space before the selector ?

Post count: 45

Oh sorry I see now I had img behind it, so I took that out.
Still I can’t make it centered, any idea on how to ?

Post count: 3343

Hi,
Unfortunately we cannot offer custom work anymore. We would have gladly made it for you but we work very hard on the updates and features for all the users. You can always get a freelancer from sites like: http://www.microlancer.com/

Please send us an email at contact@tagdiv.com and we will give you the money back.
Thanks!

Post count: 45

Pointing towards the right CSS class or selector to center an item is also custom work? Interesting perspective.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.