WordPress.org

Forums

Aligning images in wordpress navigation bar (5 posts)

  1. boybawang
    Member
    Posted 1 year ago #

    Hello all -
    I'm able to add images to the navigation bar in wordpress, but am not able to right-align the images. I tried using css (float:right), but that doesn't seem to work. Any suggestions? Basically what I'm trying to do is to have all of the menu items on the left side, and social media icons on the right. I'd rather not specify an exact value for padding right/left or margin right/left unless absolutely necessary.
    Thanks!

  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    There's really no way to help with something like this without a link to your site.

  3. boybawang
    Member
    Posted 1 year ago #

    Sorry, http://www.skipthedrive.com.
    For my CSS, I have
    #menu-item-1636
    {
    float:right;
    }

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Making the navigation full width seems to fix that:

    .builder-module-navigation ul {
        width: 100%;
    }

    But since you're using a commercial theme (not supported here), it may have other effects, so test it a bit and consult the developers of your theme if it's still not working the way you want.

  5. boybawang
    Member
    Posted 1 year ago #

    Thanks WPyogi, that worked! I will test it a bit as well.

Topic Closed

This topic has been closed to new replies.

About this Topic