Home Forums Support CSS for

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #876861
    scott doel

    I previously raised a support request Text Logo which Leo helped me with perfectly yesterday.

    I’m just building on it and to use the same detail on the mobile menu I have created a new hook, using inside_mobile_menu_bar to have the logo show when the menu collapses.

    So my issue is that copying exactly the same content to new hook aligns the main-title element right, I would like to add padding to apply to just when the mobile menu is showing

    <div class="site-branding">
    <h1 itemprop="headline" class="main-title"><a rel="home" title="SCOTT DOEL" href="https://scottdoel.com/"><span style= "font-family:verdana;"><strong>SCOTT</strong></span><span style="color:#FABF19; font-weight:400; font-family:verdana;">DOEL</span></h1>
    </div>
    #876966
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    @media (max-width: 768px) {
        .site-branding,
        .site-logo {
            left: 0 !important;
        }
    }
    #877153
    scott doel

    Perfect! Thanks David

    #877228
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.