• 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

Amazon Ads

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 › Amazon Ads

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 11 years, 2 months ago by Debbers.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 30, 2015 at 12:36 pm #146169
    Christoph_T
    Member

    Hi hope someone can help

    I've used two text widgets to insert some code in order to display amazon ads

    http://www.techblogr.com as you can see they have appeared but the positioning is wrong.

    Here is the code for the banner ad

    <div class="alignleft">
    <script type='text/javascript'>
    amzn_assoc_ad_type = 'banner';
    amzn_assoc_tracking_id = 'evpmes-20';
    amzn_assoc_marketplace = 'amazon';
    amzn_assoc_region = 'US';
    amzn_assoc_placement = 'assoc_banner_placement_default';
    amzn_assoc_linkid = 'SWPNZV4N3IWXX66N';
    amzn_assoc_campaigns = 'computers_accesories';
    amzn_assoc_p = '26';
    amzn_assoc_banner_type = 'category';
    amzn_assoc_isresponsive = 'false';
    amzn_assoc_banner_id = '12CKQQKWNWBNQ20V9X02';
    amzn_assoc_width = '490';
    amzn_assoc_height = '60';
    </script>
    <script src='//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1'></script>
    </div>

    I want to banner in the center. I've tried <div class="aligncenter"> which doesn't work, although alignleft does.

    The sidebar add doesn't fit into the widget. Here is the code:

    <div class="alignleft">
    <script type='text/javascript'>
    amzn_assoc_ad_type = 'banner';
    amzn_assoc_tracking_id = 'evpmes-20';
    amzn_assoc_marketplace = 'amazon';
    amzn_assoc_region = 'US';
    amzn_assoc_placement = 'assoc_banner_placement_default';
    amzn_assoc_linkid = 'TZR5W45GLCYZPXL4';
    amzn_assoc_campaigns = 'electronicsrot';
    amzn_assoc_p = '12';
    amzn_assoc_banner_type = 'rotating';
    amzn_assoc_width = '300';
    amzn_assoc_height = '250';
    </script>
    <script src='//z-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1'></script>
    </div>

    Any advice would be appreciated.

    April 1, 2015 at 3:03 am #146343
    Christoph_T
    Member

    Hi all

    I managed to solve the that sidebar ad but still having a bit of trouble with the banner. I want it central http://www.techblogr.com

    Any suggestions appreciated.

    May 18, 2015 at 1:50 pm #152605
    Debbers
    Member

    Did you ever figure this out? I'm having the same problem, the ad will align left or right, but not center...

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Amazon Ads’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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