WordPress.org

Forums

[resolved] Can't join the Menu with the sub menu (6 posts)

  1. gracianotorrao
    Member
    Posted 2 years ago #

    Hi
    I made some changes in the Blue Taste WP Theme.
    I applied them to this site: http://www.esdas.pt/portal
    I looked and looked an can't find a way to move the submenu closer to the menu.
    Try option "A Escola" please.

    Thanks

  2. peredur
    Member
    Posted 2 years ago #

    These are always difficult without access to the code because it's hard to capture what's happening on a hover. However, looking at the style sheet, I guess you need to look at this rule or one very like it:

    #ddnav li:hover ul,
    #ddnav li li:hover ul,
    #ddnav li li li:hover ul,
    #ddnav li li li li:hover ul,
    #ddnav li.sfhover ul,
    #ddnav li li.sfhover ul,
    #ddnav li li li.sfhover ul,
    #ddnav li li li li.sfhover ul {
      left: auto;
    }

    Until the link is in the hover state, the value for left is -999px, so this looks to me as though it's what is bringing the sub-menu into view.

    There's no value for top, however. So I think I'd try experimenting with some values for that.

    This answer's a bit of guesswork, so my apologies in advance if it doesn't help and I hope somebody else can be of more use.

    (Usual comments about the advisability of using a child theme, if you're not already doing so)

    Cheers

    PAE

  3. gracianotorrao
    Member
    Posted 2 years ago #

    Thanks ... but i'm not getting there.

    Here is a link to the template.
    Hope someone is patient enought.

    I'm not using the child theme yet, because i'm not sure how it handles translations like "Continue reading ...".

    And i also noticed that this theme displays in very diferente ways on IE and other browser :(

  4. Harrison Ortega
    Member
    Posted 2 years ago #

    On your style.css http://esdas.pt/portal/wp-content/themes/esdas/style.css
    Find the following code:

    #ddnav ul {
        border: 0 none;
        font-weight: normal;
        height: auto;
        left: -999em;
        line-height: 1;
        margin: 21px 0 0;
        position: absolute;
        width: 151px;
    }

    and replace it with:

    #ddnav ul {
        border: 0 none;
        font-weight: normal;
        height: auto;
        left: -999em;
        line-height: 1;
        margin: 0;
        position: absolute;
        width: 151px;
    }
  5. gracianotorrao
    Member
    Posted 2 years ago #

    Sorry ... an update to the link: http://dl.dropbox.com/u/2715374/esdas.tar.gz

  6. gracianotorrao
    Member
    Posted 2 years ago #

    Thanks a lot Harrison O. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.