Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #890967

    Hi,

    I am using a Full Width Sub Menu, but I want the buttons in the menu to begin in line with the main menu items above it. I have used margin-right to get the buttons to start more towards the center, but this applies to all the buttons, not just the farthest right button which I need. I have also used the Position: Relative attribute, but it moves the whole container to the left, leaving a blank space when you scroll up.

    Basically I need the full width with the background, but to have the buttons start from the right at a specific spacing (280px) from the right edge of the screen.

    Thanks in advance for your help.
    Ian

    #890968

    Oh and one other note: I was able to do this successfully by moving the buttons individually, but I need to be able to do this for all buttons at once.

    Thanks again

    #891125

    Hi Ian,

    I’m not sure I understand what you mean, could you post a link to where we can see the element and try to explain a bit further please? A screenshot highlighting the changes you would like to make might help us understand better.

    Best regards,
    Rikard

    #891335

    Rikard,
    Thank you for reaching out. Here is the link to the screen shot:

    Sorry for the doodle notes on there, hard to write with a mouse :).

    I hope this helps you a bit. I want to move the buttons to the left, but I don’t want to move the whole element, to avoid a blank space on the right of the tool bar.

    Thanks,
    Ian

    #891337

    Hi,

    I didn’t see the link in the last post for some reason, so here it is again:
    http://www.sandbox800.campkeff.org/wp-content/uploads/2017/12/submenu-screenshot.jpg

    #891495

    Hi Ian,

    Thanks for the screenshot, I’m not sure if that would be possible though. I had a look at the URL in private, but I couldn’t see the buttons there, where can we see the actual elements?

    Best regards,
    Rikard

    #891553

    Rikard,

    Thank you for getting back to me. I will send you a link and admin in pvt.

    Ian

    #891789

    Hi Ian,

    Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:

    #sub_menu1 .container {
      max-width:1050px !important;
    }

    Best regards,
    Rikard

    #903582

    Rikard,

    I am sorry for the delay in this string. I was able to make it work “good enough”, however the code you provided didn’t make any changes.

    Thanks,
    Ian

    #903771

    Hi,

    I have added this css code in Quick CSS:

    .page-id-16492 #sub_menu1 .container {
        max-width: 1180px;
    }

    Let us know if it helps.

    Best regards,
    Nikko

    #903779

    Nikko,

    This code is for a single page based on the page id used. However, this sub menu is used on most of the pages on my site, so I simply need to use a global css class.

    Ian

    #903791

    Hi Ian,

    Please replace .page-id-16492 to #top it should apply globally.

    Best regards,
    Nikko

    #903837

    I added that code with #top, but no change to how the menu is displaying.

    #904012

    Hi,

    Can you also post some links showing where it should be used?

    Best regards,
    Nikko

    #950321

    Hi,

    Sorry for the long delay, I was working on other projects. This has been resolved for the needs of the client.

    Thank you for your help as always.

    -Ian

    #950737

    Hi Ian,

    Glad to hear that. Feel free to comeback if you need further assistance :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘SubMenu Button Alignment’ is closed to new replies.