Page formating menu help
-
Thanks in advance for the great support. I have a few problems with page formatting and menus.
1) On fullwidth Pages, is it possible to keep the text content contained as if there was a sidebar there? Right now I’m using a Contact Page template and adding padding in the editor but this doesn’t seem like the best solution. I need a page for display a lot of text, with out a sidebar but don’t want it to span the entire width of the site.
2) When I use a Category Description, the text goes all the way to the end of the page. I used code in the editor to make the text area shorter but then there is an empty space to the right because the sidebar is under all the category description content… Is there a way to get around this? I read that I could add code such as:
<?php if (is_category('Category A')) : ?> <p>Text to describe category A goes here and will show up before posts start.</p> <?php elseif (is_category('Category B')) : ?> <p>Text to describe category B goes here and will show up before posts start.</p> <?php else : ?> <p>This is some generic text to describe all other category pages, I could be left blank</p> <?php endif; ?>to the archive.php before The Loop but I’m lost as to where to put it and if this would even do the trick.
Menus:
3) Is there a way to have a colored bar appear over active primary menu items and on hover? (including parent of submenus) I tried this :#nav-main ul.sf-menu > li.current-menu-item > a, #nav-main ul.sf-menu > li.current-menu-parent > a {color: #fff00d; display: inline-block;} a:hover {border-top: 3px solid #fff00d; padding: 10px 0px 0px 0px; color: #fff00d;}but was unsuccessful. The bar is there but menu titles ‘twitch’ / move around and all other links (not just menu) have the bar too. I only want it for primary navigation menu. Is there anyway to fix this?
4) How can I remove the padding from the top, left, and right of the icon area of the Icon Menu? I want to use images that go to the edge of the icon menu.
Thank you for any help!
The topic ‘Page formating menu help’ is closed to new replies.
