• Resolved ISqs

    (@isqs)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. Use page specific css, or use a sidebar template but select an empty sidebar.

    2. I didn’t think I had set up category description with this them, can you post a link to your site?

    3.

    #nav-main ul.sf-menu a:hover, #nav-main ul.sf-menu li.current-menu-item > a,  #nav-main ul.sf-menu ul li a:hover {
    border-top: 3px solid #fff00d;
    }
    #nav-main ul.sf-menu a {
    border-top: 3px solid transparent;
    }

    4.

    .home-iconmenu a {
    padding: 0;
    }

    Kadence Themes

    Thread Starter ISqs

    (@isqs)

    Thank you for all your help!

    1. I ended up downloading a Page Builder plugin that made it easy to contain the text length even on fullwidth pages.

    2. That’s strange. Is the category description box not standard with WordPress? Unfortunately my site is still local atm so I can’t provide a link.

    3. That worked perfectly!

    4. That worked perfectly as well!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Page formating menu help’ is closed to new replies.