[Support request] Menu centre alignment and separate left aligned call tab

Home Forums Support [Support request] Menu centre alignment and separate left aligned call tab

Home Forums Support Menu centre alignment and separate left aligned call tab

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #587624
    Chris

    Hi guys,

    I’m trying to centre align a main nav menu and then add a separate call button with fixed colour, like this preview theme…

    http://preview.themeforest.net/item/calena-minimal-multipurpose-portfolio-wordpress-theme/full_screen_preview/21594328?_ga=2.130768587.577564976.1527595910-1190002239.1525091624

    Any ideas how I can make this happen with GeneratePress? I’ve tried adding padding to the right side of a logo to move the menu across which helps centre the menu. This doesn’t work with the sticky nav though and looks messywhen you initially scroll down and then obviously I still don’t have the separate call us element.

    Any suggestions would be hugely appreciated.

    Thanks.

    #587718
    David
    Staff
    Customer Support

    Hi Chris,

    ok, so looking at it you need to set your logo in the Customiser > Layout > Primary Navigation (and remove the Site Identity one) and set this to sticky and static. Whilst there you can align the navigation center. Thats 90% of it.

    The fixed call button, can be added as a menu item. Follow this article to assign the item a class:

    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes

    then you can target that selector and style it with CSS. To begin with making it float right would be:

    .your-custom-class {
    	float: right !Important;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.