• 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 Ad alignment in Prose theme

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 Ad alignment in Prose theme

This topic is: not resolved

Tagged: adsense, alignment, Prose

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 7 months ago by L00koutM0re.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 16, 2013 at 1:30 am #41142
    L00koutM0re
    Member

    Hi,

    I want to left or right align the adsense ad right when the text of post starts in my prose theme. Currently i am displaying the ad before the post starts using the Genesis Hook plugin.

    How can i left or right align the ad to the text of the post?

    http://www.moremag.pk
    May 16, 2013 at 1:56 am #41144
    Aditya Pandey
    Member

    Simple surround your ad code with something like this :

    `<div style="float:left;">
    you ad code here
    </div>`

    This will align it to left. If you want to align right, just change float to right.


    Aditya Works.

    Hire me >> http://adityaworks.com/contact.php

    May 20, 2013 at 1:35 pm #41874
    L00koutM0re
    Member

    Thanks Aditya, i tried it didn't work. When i surrounded the ad code with in 'Div' it changed the alignment of entire post and gave the following result. I have put the screenshot for your review. Please help me further.

    http://www.moremag.pk/moredata/adsense2.jpg

    Before putting the Div code it appeared like this

    http://www.moremag.pk/moredata/adsense.jpg

  • 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

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