[Resolved] Move Call to Action to the right of the main menu

Home Forums Support [Resolved] Move Call to Action to the right of the main menu

Home Forums Support Move Call to Action to the right of the main menu

  • This topic has 7 replies, 3 voices, and was last updated 3 years ago by Ying.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1717058
    Stefano

    Hi Tom, David and Leo!
    I need to create a Call to Action and set it to the right of the main menu.

    Thank you

    #1717077
    Ying
    Staff
    Customer Support

    Hi Stefano,

    Which button are you talking about? The red one or the green one? Where exactly you want it to be?
    https://www.screencast.com/t/L42OkNnkB5S

    The red one is not in the primary navigation.

    Let me know πŸ™‚

    #1717410
    Stefano

    Hi Ying,
    The call to action is on the primary menu.

    #1717427
    Elvin
    Staff
    Customer Support

    Hi there,

    Try adding this CSS:

    @media(min-width:769px){
    nav#site-navigation div#primary-menu {
        width: 100%;
    }
    
    nav#site-navigation div#primary-menu li#menu-item-4309 {
        margin-left: auto;
    }
    }

    Here’s how it would look like if implemented properly: https://share.getcloudapp.com/nOuoYgZY

    #1717549
    Stefano

    Perfect! Thanks πŸ™‚

    #1718445
    Elvin
    Staff
    Customer Support

    No problem. πŸ˜€

    #1723619
    Stefano

    Hi, I open the topic for a new problem:
    How do I align the CTA on the right of the main menu when I activate the sticky menu?

    #1723717
    Ying
    Staff
    Customer Support

    Try to use this CSS instead:

    @media(min-width:769px){
        .main-navigation div#primary-menu {
            width: 100%;
        }
    
        .main-navigation div#primary-menu ul li#menu-item-4309 {
            margin-left: auto;
        }
    }
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.