• Resolved ArtsyEvin

    (@artsyevin)


    I’m trying to hide the toggle title when the screen size is really small. I’ve added a logo within the toggle bar so when the browser is scaled down, the logo is butt’ed down because the toggle title run’s into it.

    I’ve tried wrapping that shortcode in a div or p tag and assigned it an id. Then added media queries to display none and display block to the target id. That did not work. Is there a way to accomplish this?

    https://wordpress.org/plugins/shiftnav-responsive-mobile-menu/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ArtsyEvin

    (@artsyevin)

    Another issue I’m having is targeting the shiftnav-wrap class. There’s way too much padding set for it. I tried adding it into the css but it doesn’t change anything.

    Plugin Author sevenspark

    (@sevenspark)

    Hi ArtsyEvin,

    You’ve got the correct strategy – give it a class, hide that element with CSS via a media query. Sounds like your implementation is just off. I can’t tell anything without seeing the site of course.

    The padding is calculated based on the height of your toggle bar. So either that’s changing, or the padding you’re seeing is elsewhere.

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Toggle Title/ Media Query’ is closed to new replies.