[Resolved] Make search icon on the extreme left

Home Forums Support [Resolved] Make search icon on the extreme left

Home Forums Support Make search icon on the extreme left

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #433277
    themedleb

    I have put a menu item on the extreme left using this class “menu-item-float-right” on the CSS class field (my GP is RTL), but I want the search icon to be on the extreme left before that item, how can I achieve this?

    Thank you.

    #433399
    Leo
    Staff
    Customer Support

    Hi there,

    Can you link us to the page?

    Thanks!

    #433456
    themedleb

    Here is it.

    I want the search button to be on the left, and if I remove the class “menu-item-float-right” from the heart icon, it goes right besides “News” item, and that’s what I don’t want.

    #434340
    Tom
    Lead Developer
    Lead Developer

    Give this a shot:

    .sf-menu > li.menu-item-float-right, 
    .sf-menu > li.search-item {
        float: none !important;
    }
    
    div#primary-menu {
        text-align: left;
    }
    
    .nav-aligned-right.nav-below-header .main-navigation .menu > li {
        float: right;
    }
    #434346
    themedleb

    Yes sir, perfect.

    Thank you infinitely.

    #434773
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.