Jump to content
Sign in to follow this  
awnold

What does it mean if css is not working in base.css, but works in custom?

Recommended Posts

awnold

If I put my css into the custom css box in pagelines, it works. If I take it out of custom css, save, and paste it into the child theme base.css it does not have any effect, what does that mean? I am just placing it down at the bottom of base.css and updating the file, not sure why the same css wouldnt work here, thanks!

Share this post


Link to post
Share on other sites
drift

Whether you utilize the child PlatformBase theme or not, it is always best to input your CSS adjustments in the Custom Code box. From within your WP admin area navigate to 'PlatformPro Settings' > 'Custom Code' and enter your CSS in the section titled "Custom CSS". Again, this applies to the PlatformPro and PlatformBase themes. I can't speak to the mechanics of it all, but I've successfully upgraded to new theme versions and exported/imported settings between separate WordPress installs on different domains. Hope this helps.

Share this post


Link to post
Share on other sites
alisamski

I've been putting custom code inside of wp/appearance/editor/base.css under the enter custom code here section... Is that right?

Share this post


Link to post
Share on other sites
Andrew

are you using 1.3.1 of PlatformPro? It addresses some caching issues that could cause this...

Share this post


Link to post
Share on other sites
alisamski

I am using 1.3.1 Platform Pro.. however, I could not get any code to update inside of the wordpress / appearance / editor / base.css Which caching plugin would you recommend?

Share this post


Link to post
Share on other sites
awnold
are you using 1.3.1 of PlatformPro?
um amazingly no, i didnt see that release slip in, since I bought the theme like 7 days ago, I just assumed I was on the most recent version. Let me try it, that should solve the issue. thanks!

Share this post


Link to post
Share on other sites
awnold

how about the fact that the child theme was not the currently used theme? found this out when upgrading.. still kinda newbish, thanks!

Share this post


Link to post
Share on other sites
bryan-hadaway

It's about precedence and specificity. I personally recommend using Custom Code > Custom CSS. You need to make sure to be more specific than the CSS you're overriding. The easiest way to do this is to use `body` in front of your CSS, for example: `body selector{property:value}` Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×