CTXMedia Well-known member Sep 1, 2013 #1 I've upgraded CycleChat tonight and the bike logo on the right side of my header is wrapping in a narrow (iPhone Portrait) view and messing things up. How do I make it not display in a narrow view? Thanks, Shaun
I've upgraded CycleChat tonight and the bike logo on the right side of my header is wrapping in a narrow (iPhone Portrait) view and messing things up. How do I make it not display in a narrow view? Thanks, Shaun
Jeremy in memoriam 1991-2020 Sep 1, 2013 #2 Without adding a class to it, you'll be unable to selectively hide it. Other than that, Paul's resource describing how to hide elements should explain it: http://xenforo.com/community/resources/responsive-design.2193/ Upvote 0 Downvote
Without adding a class to it, you'll be unable to selectively hide it. Other than that, Paul's resource describing how to hide elements should explain it: http://xenforo.com/community/resources/responsive-design.2193/
CTXMedia Well-known member Sep 1, 2013 #3 Thanks - looks like wrapping it in its own class is the way to go. [Edit] - Ended up with this (in case it's useful to anyone else): Code: .bikelogo { float: right; padding: 6px 10px 6px 0; } <xen:if is="@enableResponsive"> @media (max-width:540px) { .bikelogo { display:none; } } </xen:if> Last edited: Sep 1, 2013 Upvote 0 Downvote
Thanks - looks like wrapping it in its own class is the way to go. [Edit] - Ended up with this (in case it's useful to anyone else): Code: .bikelogo { float: right; padding: 6px 10px 6px 0; } <xen:if is="@enableResponsive"> @media (max-width:540px) { .bikelogo { display:none; } } </xen:if>
Arty Well-known member Sep 1, 2013 #4 You can wrap it in class="hiddenResponsiveMedium hiddenResponsiveNarrow" instead of making new class. Upvote 0 Downvote
You can wrap it in class="hiddenResponsiveMedium hiddenResponsiveNarrow" instead of making new class.
CTXMedia Well-known member Sep 1, 2013 #5 Arty said: You can wrap it in class="hiddenResponsiveMedium hiddenResponsiveNarrow" instead of making new class. Click to expand... I didn't know about those classes - thanks. Upvote 0 Downvote
Arty said: You can wrap it in class="hiddenResponsiveMedium hiddenResponsiveNarrow" instead of making new class. Click to expand... I didn't know about those classes - thanks.