Forums

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

Home Forums CSS CSS to move site logo to the center of navbar

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #263907
    jmigliaccio175
    Participant

    I would like to move my site logo from the header to the center of the navbar. Looking to do something similar to the navbar on lafd.org. My site is njfmba68.com.

    I checked all previous threads, but none of them solved my problem.

    Any help is appreciated.

    #263920
    Anu
    Participant

    You need to use positioning properties of css on logo, with z-index value.

    Try this on image

    position: relative;
    margin: 0 auto;
    top: 120px;
    z-index: 10000;

    #263946
    jmigliaccio175
    Participant

    Ok, that worked for moving the logo. I still need to split my menu to put half on the left and half on the right.

    #264004
    webinuse
    Participant

    You can achieve it via jQuery simply, with insertAfter or insertBefore .yourclass:nth-child(your-number).

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