• 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

adsense code in widgets misaligned

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 › adsense code in widgets misaligned

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 25, 2017 at 8:38 am #209566
    tafita
    Participant

    Anyone else having trouble with widgets and adsense code?

    Basically the widgets are creating extra space around the code to misalign the content ear take a look at the code in the top right header widget at http://sharesandstockmarkets.com

    http://sharesandstockmarkets.com
    July 25, 2017 at 11:09 am #209568
    Victor Font
    Moderator

    Are you using the new text widget from WordPress 4.8? It looks like you have paragraph tags and line breaks getting inserted into the code before the iFrame is loaded. There's no way to turn this off in the new text widget. You may want to try my Classic Text Widget plugin: https://wordpress.org/plugins/classic-text-widget/

    You also have jQuery syntax errors showing up for the Google Analytics code.


    Regards,

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

    July 25, 2017 at 1:03 pm #209574
    tafita
    Participant

    Hey thanks Victor I've changed the code for analytics does it still show up with an error?

    July 25, 2017 at 2:46 pm #209577
    Victor Font
    Moderator

    I'm on a portable device right now and can't view the source. You can look yourself, just right click on the page and use your browser's inspection tool. https://victorfont.com/how-to-use-your-browsers-inspect-tool/


    Regards,

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

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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