February 22, 2018 at 1:25 am #68612
Is there a way to place menu button in header and align it with main content on page.
Actually, I can place it with “Distance from Side” settings.
StephanFebruary 22, 2018 at 9:22 am #68622
Was your second sentence you saying you had worked this out or do you still need help?
PeterFebruary 22, 2018 at 12:42 pm #68621Anonymous
In fact, I want the button fixed and aligned with main page content, Actually, with right side alignment, it moves when resizing the browser window.February 22, 2018 at 12:47 pm #68620
Unfortunately you haven’t provided any URL for me to look at or an example for me to see so I can’t really say much here.
If you want it to be aligned with the main page content, it sounds like you need to use the shortcode to place the button and use relative positioning instead of using fixed or absolute as you are doing now.
Let me know if that helps
PeterFebruary 22, 2018 at 12:50 pm #68619Anonymous
Here is my url : http://stephanvallieres.com
ThanksFebruary 22, 2018 at 12:53 pm #68618
It is as I expected, you have a max width on the container so it is slightly incompatible with a fully responsive solution.
Did you use the shortcode and relative positioning I mentioned above as that will likely be your best bet for achieving what you want?
PeterFebruary 22, 2018 at 1:15 pm #68617Anonymous
I will need more details about how to use shortcode and relative positioning.
StephanFebruary 22, 2018 at 1:22 pm #68616
You can find details throughout this site in the docs/knowledgebase/this forum:
Essentially, you just need to set
Relative, enable the shortcode option and place this in the
<header>element inside your themes templates.
Please let me know how you get on.
PeterFebruary 24, 2018 at 2:16 pm #68615
It works well for large screens and ipad versions, but I have some trouble to get position right with mobile version.
StephanFebruary 24, 2018 at 7:41 pm #68614
I finally got it right after some CSS adjustments.
StephanFebruary 26, 2018 at 9:43 am #68613
Excellent news and thanks very much for the update!
- The topic ‘Align menu button with main content’ is closed to new replies.