Jump to content
Sign in to follow this  
dainiswmichel

how to add an additional external stylesheet

Recommended Posts

dainiswmichel

i added: /wp-content/themes/platformbase/editor-style.css to the platformbase directory i also added: add_editor_style(); // add time() to the end of editor-style.css so that you'll always see the latest version add_editor_style('editor-style.css?' . time()); to functions.php there as well now, guess, what? the editor styles show up beautifully in the visual editor -- but if i remove the code from platform's custom code backend, the styles disappear. so what i'm saying is, right now, my custom styles placed in editor-style.css appear in WP's dashboard but not on the live site. how can i inform platform to also display editor-style.css? cheerio! --dainis

Share this post


Link to post
Share on other sites
dainiswmichel
ahh -- i added '' i tried this ' ' and it placed the php text into the header instead of using the php. anyway, might not be mega-slick, but it totally works and is pretty cool best, dainis

Share this post


Link to post
Share on other sites
dainiswmichel
live style dinking -- here i come! did i say "dinking," i meant "refining" "editing" or some such other much cooler and more professional way to say "dinking around with css to make a site look just right." LOL

Share this post


Link to post
Share on other sites
Rob
Happy Thanksgiving to you to Dainis, With the amount of customization you do, I expect that one of these days, your site is going to explode. Let's be thankful today that PlatformPro is as flexible as it is, and capable of handling all your re-inventions! LOL Glad you found the answer. I think, by the way, you meant tinkering. :) Have a great day!

Former PageLines Moderator, Food Expert and Raconteur

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  

×