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 » Atahualpa 3 Wordpress theme » Header configuration & styling »

Embedded CSS


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 Mar 28, 2011, 06:12 PM
mdelaflor
 
22 posts · Jul 2010
Texas
Embedded CSS

Hello,

One of the moderators asked me to look at the HTML produced by Atahualpa to locate a place I would need to change to edit the layout. No problem, however as I was looking I was surprised to find a 2880 lines of CSS code embedded in the HTML header of every page. I was baffled as to why any layout needs 2880 lines of CSS code? Did I do something wrong in editing Atahualpa and caused this to happen?

Mike
  #2  
Old Mar 28, 2011, 06:49 PM
juggledad's Avatar
juggledad
 
21,714 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
There are that many lies of CSS because there that many places the theme can be styled. There are over 400 lines to make the menus work.

Why the Twenty-ten theme, which isn't nearly as customizable, style.css file is 1324 lines long.

The more a theme is customized, the more css there is.

You can set the CSS to be in an external file, but it still has all that code, the difference is that when using external CSS, the file is only loaded to your computer once for the duration of that session. If someone only visits the front page, then it actually takes a little longer if the CSS is external because an extra request has to be sent to the server and the file delivered. You will gain that time back the more pages they visit, but unless you are serving thousands of pages an hour, i don't think anyone will ever notice.
__________________
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

Last edited by juggledad; Mar 28, 2011 at 06:54 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Embedded Flash not visible martintim Center area post/pages 14 Feb 3, 2011 09:15 AM
Embedded video not working at all... Alien99 New Versions, & Updating 5 Feb 2, 2011 11:42 AM
[SOLVED] Does anyone know how to use VAST Html as an embedded forum? sjolyjuly Sidebars & Widgets 2 Nov 8, 2010 03:10 PM
[SOLVED] category link displays only text, not the embedded video Shama Sidebars & Widgets 2 Jul 27, 2010 11:06 AM
Embedded Slideshow via Picasa -- No Worky? Starr Plugins & Atahualpa 1 Jun 5, 2009 01:23 PM


All times are GMT -6. The time now is 03:17 PM.


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