Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

What's the best place to put CSS changes, and why?


  #1  
Old Feb 24, 2013, 11:53 PM
flippertie
 
5 posts · Feb 2013
What's the best place to put CSS changes, and why?

I've started modifying Montezuma for my site. Following best practices for a 'normal' theme used to involve making a child theme, and then doing CSS changes in a new Style.css there

Now I see an Edit CSS option in the Wordpress sidebar, and that's where I've put all my CSS mods, and everything works.

But I've noticed most threads here talk about making changes to the individual CSS files through the Montezuma options, and in one 'newbie' thread JerryC talked about using the 'Lazyest Stylesheet Plugin'..

Assuming they all work - are there real benefits or drawbacks to any of these methods - or is it just down to personal preference?

I know I like to keep all my changes (and mistakes!) in one place.....
  #2  
Old Feb 25, 2013, 03:31 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You should avoid making custom changes to any theme with the theme editor since the next time you update the theme the changes will be wiped out by the update process.

Montezuma has a series of options for editing the CSS. When you use the options in the theme, the changes are stored in the database as a theme option. No need to create a child theme or use a plugin. My suggestion is to add any CSS overrides to the end of the 'clearfix.css' so you can find them quickly and they are all grouped together.

If you want the most efficient CSS then you should find the CSS theat needs changing and change it in it's css file so there is no need for overrides.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 25, 2013, 03:56 AM
flippertie
 
5 posts · Feb 2013
Quote:
Originally Posted by juggledad
You should avoid making custom changes to any theme with the theme editor since the next time you update the theme the changes will be wiped out by the update process.
Absolutely! Hence Child themes etc.

What happened is that I activated the Jetpack plugin (to try out the post by email feature) and it's also added an "Edit CSS" option within the wordpress dashboard (separate from the theme editor)- which is what I've been using. I thought it was a new feature of WP 3.5.1.... I guess this is a similar feature to the Lazyest Stylesheet I mentioned above.

I shall de-activate that feature and shift my changes to clearfix.css as you suggested.

Thanks for your quick response.

Bookmarks

Tags
css changes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to place and where to place a sign up box zizi Header configuration & styling 5 Oct 10, 2010 07:41 PM
How to place the comment Box on top !!! GoanTunes Atahualpa 3 Wordpress theme 0 Oct 31, 2009 10:20 AM
want to place clickable icons in place of links (Home, About, etc.) agrossman Header configuration & styling 2 Aug 13, 2009 02:45 PM
Want to place icon in Sidebar HalfWayThere Sidebars & Widgets 2 Feb 7, 2009 11:30 AM
Best place to put Digg bug HenryGomez Post-Kicker, -Byline & -Footer 2 Feb 4, 2009 05:23 PM


All times are GMT -6. The time now is 12:54 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.