• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Changed Size of Right Header Widget and Now It's No Longer Responsive on Mobile

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Changed Size of Right Header Widget and Now It's No Longer Responsive on Mobile

This topic is: not resolved

Tagged: media query, responsive, right header widget

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 5 months ago by sawsonskates.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 27, 2017 at 5:47 pm #208355
    sawsonskates
    Member

    I used this tutorial to change the logo size and the size of the right header widget in my Metro Pro theme and it worked great! I used the right side to post a responsive Google Adsense code. The ad looks great on the desktop, but doesn't render properly on tablets or mobile. The ad goes off the screen on tablet/mobile - almost like the widget area is too large for these devices.

    The author of the tutorial suggested I "wrap (the right header widget) in a media query" so it changes at a specific screen width. This is waaay over my head and he suggested I post here for help. Can anyone help me with this please? I'd really appreciate it! Here's the link to my site. Thank you in advance - Scott

    http://sawsonskates.com/
    June 28, 2017 at 7:38 am #208371
    Victor Font
    Moderator

    The first thing I'd like to offer is this brief explanation about how the Genesis header areas work. Ignore the part about centering the logo. https://victorfont.com/understanding-genesis-framework-site-header-layout/

    Second, you may not be able to do anything about the ad except find a different location. The ad sizes are hard coded inline by the adsense code. When you set up the add in the first place, you should have selected responsive as the ad type instead of using a fixed grid size. I suggest you go back to your adsense account and generate the code for responsive ads.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 28, 2017 at 5:15 pm #208418
    sawsonskates
    Member

    Thank you Victor - I appreciate your help. I was hoping I just picked up an old ad code, but the code in my header widget is for a responsive ad.

    What's strange is I have a responsive ad code in the sidebar and that ad is responsive on desktop, tablet and mobile. It's just the header ad that isn't responsive.

    Do you have any other thoughts or suggestions? Thank you - Scott

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble