Side bar width

  • Posted in : Empathy
  • stephdenis
    Participant

    How can I change sidebar width to 180px on normal computer screen, but not affect any change to mobile responsiveness?

    I want to make this change in the style.css of child theme.

    Can you please provide code?

    (:

    serkan
    Moderator

    Hi,
    Do you mean menu bar? Then you can use this custom css code;

    @media screen and (min-width: 768px) { .modern-layout .site-main { left: 180px; } 
    .header-wrap { width: 180px; }
    .header { width: 180px; } }

    Thanks

    stephdenis
    Participant

    Yeah the menu bar (:

    I added the code in Customize / Custom CSS but the result is: the menu bar becomes all black (no more nav menu and picture. All black. And menu nav bar does not change width.

    Any suggestion ?

    serkan
    Moderator

    Hi, It doesn’t make sense. Could you provide me your related url, please?
    Thanks

    stephdenis
    Participant
    serkan
    Moderator

    Hi, I will forward this topic to our developer. Thanks for your patience.

    stephdenis
    Participant

    any news on this issue?

    serkan
    Moderator

    Hi,
    Please use the custom css code again.
    Thanks

    stephdenis
    Participant

    Great. It works. I added the code in Appearance/Customize/Custom CSS. In the case that I update the theme, will the code be lost?

    serkan
    Moderator

    Don’t worry, your content will not be lost.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register