Okay
  Public Ticket #3761766
Salient Sidebar
Open

Comments

  •  3
    stuart started the conversation

    Hi Support, 

    I would like the sidebar menu to appear at the top of the page as opposed to the bottom in mobile view. Is this possible? 

    Thanks for the theme, loving your work and appreciate the help.

    Stuart 

  •  2,958
    Andrew replied

    Hi Again,

    Thank you for getting in touch.

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    .page-template-page-sidebar-php .main-content .row {
            display: flex;
            flex-direction: column-reverse;
    }

    Try this and let us know how it goes.

    Thanks,

  •  3
    stuart replied

    Andrew - really appreciate you replying back.
    Added the code and it works but it places the side menu across the top of desktop and tablet. I was just looking for it to appear at the top on mobile only

    Thanks again!!!!



  •  2,958
    Andrew replied

    Hi Stuart,

    Thank you for getting back to us.

    Please replace the previous CSS with his one to fix the issue.

    @media only screen and (max-width: 690px) {
    .page-template-page-sidebar-php .main-content .row {
            display: flex;
            flex-direction: column-reverse;
    }
    }

    My apologies for the previous CSS shared.

    Kind regards,

  •  3
    stuart replied

    You absolute legend. 

    Rockstar - have a great day Andrew and thanks for the help mate. 

    Stu. 

  •  2,958
    Andrew replied

    Hi Stuart,

    Thank you for getting back to us.

    I'm glad we could assist. feel free to reach out if you have any other queries.

    Best regards,