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 »

[SOLVED] Feature Request: Section Comments in style.css


  #1  
Old May 30, 2013, 09:58 AM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
Most of the times, I can track down a particular style based on its use. For example, if I want to change the style of the breadcrumbs bar, I just go into the breadcrumbs.css virtual page. Sometimes, though, tracking down the style for a particular element is a bit trickier, so I'll open up the style.css file that gets generated, look for the particular element, then look at the surrounding declarations to see if they will give me a clue as to which CSS virtual file I need to go. It would be helpful, when generating the style.css file, to add a comment line that indicates the beginning of a particular section, like:

/* ====== breadcrumbs.css =========== */

/* ====== various.css =============== */

I hope this wouldn't be too difficult to implement, and, as I mentioned earlier, it would be very helpful in zeroing in on the right CSS file.

Thanks.
  #2  
Old May 30, 2013, 10:34 PM
jerryc
 
367 posts · Oct 2012
Florida
Add my vote to that.
  #3  
Old Nov 19, 2013, 09:45 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
I tried to implement it myself by manually adding comments at the top of each virtual CSS file, but all comments get stripped out when the style.css file is written. I finally got the idea to create a "heading" by creating a pseudo CSS selector. Since a hyphen is a valid character for a CSS ID selector, I just created a rule like this at the top of each of my virtual CSS files:
Code:
#------content-css-------------------------------------------- {
}
Now when I examine the style.css file, it's a lot easier to see in which virtual CSS file a particular rule is located.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!

Bookmarks

Tags
comments, style.css

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Feature Request for Header Images kal New Versions, & Updating 0 Jun 9, 2010 06:01 AM
Feature Request georgenoise New Versions, & Updating 0 Dec 31, 2009 08:57 AM
Feature Request Suzie RSS, Feeds & Subscribing 0 Sep 14, 2009 09:12 PM


All times are GMT -6. The time now is 01:21 AM.


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