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

Embedded CSS

Old Mar 28, 2011, 06:12 PM
22 posts · Jul 2010

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?

Old Mar 28, 2011, 06:49 PM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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


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 02:34 PM.

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