appearance of headers / gray lines
-
1. I have managed not to display the header in “About” and in “Contact” which are pages by using this: h2.title { display: none; }
but it also disappears the title of my posts in “News” page non portfolio items
how can I keep the post title there ?
2. How can I erase the gray lines above featured posts and footer in my homepage ?regards,
Yannis Karikas
The blog I need help with is: (visible only to logged in users)
-
1. To remove the heading from those two pages only, use this:
.page-id-918 h2.title, page-id-920 h2.title { display: none; }2. To remove the grey lines, add this:
.page-template-homepage-php section.main-content, footer[role="contentinfo"] { border: 0 none; } -
It works thank you !
3. I d like to adjust the font color and style of the post s title – displayed on News page
in this case the title “Olive Oil-buy fresh keep it fresh”
could you help me on this ?regards,
Yannis Karikas
-
-
You’re welcome.
Same color for title and date, or two different colors?
And “adjust the style” how? Larger? Italics? Other? -
I prefer same color for title and date
Italics, bold and the size like heading 44. I just noticed that in one of my portfolio pages, the olive oil page ,when clicking on a post a Related header appears showing 3 related posts
how did this happen and how can I manage not to display such a thingthank you in advance,
Yannis Karikas
-
3. Add this:
.has-post-meta a, header .post-meta, header .post-meta a { color: #456789; font-style: italic; font-weight: bold; } .has-post-meta { font-size: 100%; } header .post-meta { font-size: 100%; }Replace 456789 with the hex for the color you prefer, and increase the percentages.
4. That’s a new feature WP is testing. You should be able to disable it in Settings > Reading.
-
3 + 4. ok it works thank you
5. when pointing on a main menu item “olive oil” for example I d like a different color to be displayed (highlighting the item) instead of the default green color
is it possible ? -
Try this (and replace 456789 with the hex for the color you prefer):
.menu-item a:hover { color: #456789; } -
-
if the change of color of each menu item when pointing is not possible I could consider to be underlined …
-
-
- The topic ‘appearance of headers / gray lines’ is closed to new replies.