Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1148408
    micody
    Participant

    Hi there – great work on the theme!

    I am currently developing a site and I wanted to add a custom button where the social icons normally are.

    Through your advice in other posts, I have managed to add this button using a child theme but the problem is on the mobile version. When the top bar stacks, the button is stuck on the right and I need it move to the centre – in the same way the social icons normally do.

    Latest version of X and Cornerstone installed.

    Any tips?

    Thanks!

    #1148409
    micody
    Participant
    This reply has been marked as private.
    #1148636
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS

    @media (max-width: 767px) {
    .x-topbar .p-info {
    border: none;
    margin-bottom: 20px;
    }
    .my-button, .my-button:hover {
    float: none !important;
    }
    }
    .x-topbar {
    background: white;
    }
    
    

    Hope that helps,

    Joao

    #1149471
    micody
    Participant

    That’s perfect! Thanks.

    #1149479
    Rue Nel
    Moderator

    You’re welcome!
    We’re glad we were able to help you out.

  • <script> jQuery(function($){ $("#no-reply-1148408 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>