• 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

tonymayo

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 8, 2019 at 10:32 am in reply to: Genesis update causing crashes #491028
    tonymayo
    Member

    I'm not sure if it is the same problem. But latest update has messed up my site. Sidebars, links all gone and unable to fix. There is definitely a bug in this latest update. I'm in the process of doing a full site restore.
    Can Genesis throw some light on this?
    Thanks.

    https://www.mayo.me

    March 4, 2015 at 6:55 am in reply to: Responsive ads for magazine pro #143161
    tonymayo
    Member

    Hi,
    I would like to add Responsive Adsense to my blog ( Magazine Pro theme) in the following slots:

    Header Right

    Primary Sidebar

    After Post Content

    Do I add code below (from http://www.labnol.org/internet/google-adsense-responsive-design ) to my Theme CSS file and if so where should I add code.

    <div id="google-ads-1"></div>

    <script type="text/javascript">

    /* Calculate the width of available ad space */
    ad = document.getElementById('google-ads-1');

    if (ad.getBoundingClientRect().width) {
    adWidth = ad.getBoundingClientRect().width; // for modern browsers
    } else {
    adWidth = ad.offsetWidth; // for old IE
    }

    /* Replace ca-pub-XXX with your AdSense Publisher ID */
    google_ad_client = "ca-pub-XXX";

    /* Replace 1234567890 with the AdSense Ad Slot ID */
    google_ad_slot = "1234567890";

    /* Do not change anything after this line */
    if ( adWidth >= 728 )
    google_ad_size = ["728", "90"]; /* Leaderboard 728x90 */
    else if ( adWidth >= 468 )
    google_ad_size = ["468", "60"]; /* Banner (468 x 60) */
    else if ( adWidth >= 336 )
    google_ad_size = ["336", "280"]; /* Large Rectangle (336 x 280) */
    else if ( adWidth >= 300 )
    google_ad_size = ["300", "250"]; /* Medium Rectangle (300 x 250) */
    else if ( adWidth >= 250 )
    google_ad_size = ["250", "250"]; /* Square (250 x 250) */
    else if ( adWidth >= 200 )
    google_ad_size = ["200", "200"]; /* Small Square (200 x 200) */
    else if ( adWidth >= 180 )
    google_ad_size = ["180", "150"]; /* Small Rectangle (180 x 150) */
    else
    google_ad_size = ["125", "125"]; /* Button (125 x 125) */

    document.write (
    '<ins class="adsbygoogle" style="display:inline-block;width:'
    + google_ad_size[0] + 'px;height:'
    + google_ad_size[1] + 'px" data-ad-client="'
    + google_ad_client + '" data-ad-slot="'
    + google_ad_slot + '"></ins>'
    );

    (adsbygoogle = window.adsbygoogle || []).push({});

    </script>

    <script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
    </script>

    Thanks in advance.

    April 13, 2014 at 9:22 am in reply to: Add Featured Image to Apparition Theme #99968
    tonymayo
    Member

    Image size was the problem alright. All working as it should now.

    April 12, 2014 at 11:41 am in reply to: Add Featured Image to Apparition Theme #99817
    tonymayo
    Member

    Brad,
    Image aligns left with both solutions. Is there a way to centre it as in your examples.
    Thanks

    April 12, 2014 at 4:40 am in reply to: Add Featured Image to Apparition Theme #99777
    tonymayo
    Member

    My idea was for an independent image.

    April 9, 2014 at 5:26 am in reply to: Add Featured Image to Apparition Theme #99314
    tonymayo
    Member

    Thanks for getting back Susan.
    I haven't figured it out and would like to know if it's possible.

    February 14, 2014 at 3:51 am in reply to: Content Boxes Magazine Pro #90254
    tonymayo
    Member

    That's fixed it.

    Thanks Davinder.

    February 13, 2014 at 8:22 am in reply to: Content Boxes Magazine Pro #90131
    tonymayo
    Member

    I have added a test post here http://www.mayo.me/test-post

    The second par should be a Content Box which I have added as shown below:

    <div class="content-box-blue">my text here.</div>

    Maybe I am missing something.

    February 13, 2014 at 6:47 am in reply to: Content Boxes Magazine Pro #90114
    tonymayo
    Member

    Thanks Davinder.

    Yes, I had earlier added box to that post - but only text displayed so I removed it.

    It seems Content Box code in editor is not finding CSS in stylesheet - I'm not coder so I don't know if that makes any sense!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)

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