• Resolved emmagreen1220

    (@emmagreen1220)


    Hi, I started using the custom sidebar plugin to create an extra sidebar and placed it on the right side. (left sidebar is the theme sidebar) I have been using a widget called “fixed toc” which provides a table of content for each post. It was displayed in my left theme sidebar correctly. However, when I moved it to the right side, I am seeing the “click to maximize” button on top of this widget, as seen here https://biologydictionary.net/test-two-sidebars/. This icon should only exist when the site is viewed on mobile. I am wondering if this icon is displayed because the right sidebar I created was treated as a mobile sidebar? I’d like to know how to resolve this issue. Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @emmagreen1220

    I hope you’re well today!

    I msut say I’m not familiar with that widget that you’re using so I’m not sure how it works – what actually triggers that button and how it depends e.g. on theme. But after checking the site I think you could use a simple CSS workaround to get rid of it:

    @media screen and (min-width:768px) {
      #ftwp-trigger {
        display:none;
      }
    }

    Adding this code to the site (e.g. via “Appearance -> Customize -> Additional CSS”) should hide that button on any screen wider than 767px. You might want to adjust that width value of course.

    Note: if this code doesn’t work for you, try this version, please:

    @media screen and (min-width:768px) {
      #ftwp-trigger {
        display:none!important;
      }
    }

    Kind regards,
    Adam

    Hello @emmagreen1220

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Second sidbar’ is closed to new replies.