Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 24, 2013, 11:53 PM
flippertie
 
5 posts · Feb 2013
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
 
21,938 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
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 09:51 AM.


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