Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Menubar is not working after changing logo position

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #43328
    sshuvro58
    Participant

    I am using a free wordpress theme Pitch (http://siteorigin.com/theme/pitch/) . I re positioned the logo and put it in line with menubar .

    like this: http://i49.tinypic.com/10xvka0.jpg

    But after doing this not only the drop down but the whole menu bar doesn’t work at all .

    This is my CSS: http://pastebin.com/SeaaGeYA

    How can I make the menubar working at same time maintaining my desired layout?

    #127896
    sshuvro58
    Participant

    I didn’t change anything except CSS .

    here is the link of my working site http://aniyanetworks.net/Blog/

    #127915
    Merri
    Participant

    Works just fine for me on Firefox and Chrome.

    #127926
    sshuvro58
    Participant

    @Merri: really ! I am using chrome , but menubar isn’t working . Not only the drop down but the whole menubar

    #127928
    Merri
    Participant

    Seems like you’ve done something with it, now the page is very broken.

    Anyway, biggest problem probably happened because there is div.container within #logo and div.container has 960px width, so when you (I guess) set `position: absolute;` to #logo it also made #logo to jump on top of the #mainmenu.

    Easiest solution would’ve been to give #mainmenu a `position: relative;` or remove container class from the div (although that may give some other issues).

    #127933
    sshuvro58
    Participant

    I tried , by making menubar position relative , but didn’t work :(

    #127936
    sshuvro58
    Participant

    Can anyone solve this ? I am really in trouble

    #127953
    kartonnade
    Member

    Hey!

    Have you tried the following ?

    1- within your body, add a div of class “container” instead of giving the “container” class inside menu & slider & loop :





    2- remove the “container” class within the above mentionned
    3- create a

    element to encompass your logo + menu
    4- cleanup: unset margins, width, floats on logo and menu and ul#mainmenu-menu, add theme back one at a time only if needed
    5- display:block; your logo
    6- float your logo and your menu left
    7- remove margin-top: 30px; on the slider ?

    Also, try to style using classes and keep ids for javascript.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘CSS’ is closed to new topics and replies.