New Landing How can we help? Atelier Button Style Menu Item Styling

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Atelier
  • #282801
    Allano
    Member
    Post count: 44

    Hello,

    I am interested in styling a nav button similar to the buttons on this page:
    Specifically a rounded button.

    http://swiftideas.com/elements/buttons-social-icons/

    I tried adding a CSS class to the menu item and it remains a black button.
    Can you recommend which class I should use to mimic these buttons?

    thank you!

    Attachments:
    You must be logged in to view attached files.
    #282894
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me login detail to check and resolve the issue.
    Thanks
    Mohammad

    #283087
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #283096
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please post your login detail here as private reply. There is a checkbox below reply box to make any reply private.
    Thanks
    Mohammad

    #283241
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #283476
    Allano
    Member
    Post count: 44

    Hello,

    Any idea how to change the button style to one of the normal button styles?
    Thanks,

    Attachments:
    You must be logged in to view attached files.
    #283531
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try adding this to your custom css:

    .full-center nav#main-navigation ul.menu > li.menu-item:last-child a .menu-item-text {
      padding: 5px 20px;
      background-color: #111;
      color: #fff;
      border-radius: 5px;
    }

    – Kyle

    #283736
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #283744
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #283746
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    It’s not possible to do an icon reveal however for normal hover use this:

    .full-center nav#main-navigation ul.menu > li.menu-item:last-child a:hover .menu-item-text {
      background-color: red;
      color: #fff;
    }

    – Kyle

    #284071
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #284432
    Allano
    Member
    Post count: 44
    This reply has been marked as private.
    #284464
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok instead of using :last-child, add an extra class to the menu item, something like menubtn then use this css

    .full-center nav#main-navigation ul.menu > li.menu-item.menubtn a .menu-item-text {
    padding: 5px 20px;
    background-color: #eb3636;
    color: #fff;
    border-radius: 30px;
    }
    
    .full-center nav#main-navigation ul.menu > li.menu-item.menubtn a:hover .menu-item-text {
    background-color: #000000;
    color: #fff;
    }

    – Kyle

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.