• Resolved rditty

    (@rditty)


    Hello,

    I was wondering how I could align the 3 menu items in my primary menu to the right? On my site they are “Classes”, “About”, and “Contact”.

    I want the logo to still be left-justified.

    Thank you.

    concealedsafety.com

    • This topic was modified 8 years ago by rditty.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Subrata Sarkar

    (@subrataemfluence)

    I believe the navigation section resides in your header template i.e. in header.php file of your theme. If so,

    Changing this

    
    <div id="navbar-collapse-1" class="navbar-collapse collapse navbar-left">
    ...
    </div>
    

    to this

    
    <div id="navbar-collapse-1" class="navbar-collapse collapse navbar-right">
    ...
    </div>
    

    should work.

    Here is a screenshot of your modified header:
    https://prnt.sc/eeqg6c

    Hope this helps!

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi rditty,

    Did the above solution work for you?

    Note: try to perform all the changes using “Child-Theme”.

    @subrataemfluence Thank you for your contribution.

    Thank You

    Subrata Sarkar

    (@subrataemfluence)

    @webhuntinfotech No problem!

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    You are welcome.

    Thank You

    Thread Starter rditty

    (@rditty)

    Hi @subrataemfluence,

    I looked in header.php for that code but mine seems to be different:

    <div id="navbar-collapse-1" class="navbar-collapse collapse navbar-<?php echo is_rtl() ? 'right' :'left'; if ($awada_theme_options['logo_layout']=='right'){ echo 'style="float:right;"'; } ?>">

    Is this the code section you are referring to? Or am I missing it?

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    Ok,

    Then replace above code with this:

    <div id="navbar-collapse-1" class="navbar-collapse collapse navbar-<?php echo is_rtl() ? 'left' :'right'; if ($awada_theme_options['logo_layout']=='right'){ echo ' style="float:right;"'; } ?>">

    Save the changes.

    Hope it will work for you.

    Let us know for further assistance.

    Thank You

    Thread Starter rditty

    (@rditty)

    Thank you. That worked!

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    You are most welcome.

    Thank You

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to align the primary menu items to the right?’ is closed to new replies.