Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple CSS files
#8
angelazou Wrote:But I'm not familiar with this code, can someone please elaborate this?

Code:
#index header .breadcrumbs { display:none; }
The CSS rule lists the "conditions" which must be met in order to not display an element with the class of "breadcrumbs": It must be a child of the header element which in turn must be a child of an element with the id of "index" (the page's body element in this case). Only that element with class "breadcrumb" would be targeted by this rule, no other element with a class of ".breadcrumb" which might additionally exist on the page outside the header element.

For the Innovation theme, try
Code:
#index aside#sidebar {display: none;}
This translates to: don't display the element "aside" with the id of "sidebar" (the sidebar) on the page with an id of "index" (the start page in GS)

Worked here without flaw.

PS: A few resources you might want to check out: IDs and CLASSes, CSS selectors (decendant, child, sibling,...). The knowledge will help you read CSS rules like the one you posted.
Reply


Messages In This Thread
Multiple CSS files - by angelazou - 2011-05-18, 20:44:27
Multiple CSS files - by n00dles101 - 2011-05-18, 20:48:50
Multiple CSS files - by angelazou - 2011-05-18, 21:16:22
Multiple CSS files - by Connie - 2011-05-18, 22:01:16
Multiple CSS files - by ccagle8 - 2011-05-18, 22:19:57
Multiple CSS files - by angelazou - 2011-05-19, 13:12:48
Multiple CSS files - by angelazou - 2011-05-22, 20:25:37
Multiple CSS files - by polyfragmented - 2011-05-22, 22:12:51
Multiple CSS files - by angelazou - 2011-05-25, 13:50:15



Users browsing this thread: 2 Guest(s)