• Resolved elmirasln

    (@elmirasln)


    Hi everyone,

    The menu in my website is right-aligned but i need “My account” button fixed in the left side. I need your assistance in 2 parts:

    1. what i’ve built doesn’t really look like a button. it’s actually the border around its block that is aligned with the bottom line of the menu. Changing its paddigs only increases the size.

    what it is: https://postimg.cc/H8DkWrV7

    what i need: https://postimg.cc/NLm0Jkz8

    2. this button moves to second line in smaller screens. I need to fix it.

    Does anybody know how to fix them?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    What you want to achieve is kind of difficult to accomplish because the button link is part of your nav menu. I recommend that it be contained in its own div container independent of the nav menu container. Then it’s easier to use CSS to position and style it as you wish without interfering with your other nav menu items. This way it’ll behave more responsively to varying screen sizes.

    The best way to do this varies by theme. Your theme may already have a simple mechanism for this. I recommend asking through your theme’s dedicated support channel how to best accomplish this. If all else fails your header template could likely be customized, but it’s not worth considering if there’s an easier way.

    Thread Starter elmirasln

    (@elmirasln)

    thanks a lot. As my theme settings doesn’t allow to add a button easily, i had to build it in this way. But i’ll try again. Sounds better.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘need a button in header’ is closed to new replies.