Remository remositorypageheading ID |
|
remositorypageheading ID is assigned to a DIV tag which acts as a wrapper for page heading. This id is defined in remository.html.php mainPageHeading function. The page title is displayed in either H2 or H3 tags which are surrounded by div#remositorypageheading div.
In order to declare css styles for these H2 or H3 tags, you should use contextual selectors: div#remositorypageheading h2{
/* CSS Styles */ } div#remositorypageheading h3{ /* CSS Styles */ }
You can also define css styles for RSS link and RSS image located at the page heading: div#remositorypageheading a{
/* CSS Styles */ } div#remositorypageheading img{ /* CSS Styles */ }
There is also an in-file style sheet declared in remository.html.php head section. I have no idea why the creator of remository have put the styles in this section! Here it is: #remositorypageheading{
background-image: url($this->mainpicture); }
Looking at the above styles, The page heading will have a background image by default. However you can override this style by declaring your own css rules in remository.css file.
Defined in:remository.html.php
Assigned to:DIV Tag
remositorypageheading ID examplediv#remositorypageheading{
/* CSS Styles */ } To style the page heading: #remositorypageheading h2, #remositorypageheading h3 {
/* CSS Styles */ }
|
