WordPress.org

Ready to get started?Download WordPress

Forums

CSS and Adsense Extreme plugin (6 posts)

  1. affmark
    Member
    Posted 2 years ago #

    So i have adsense extreme installed on an esquire template. The problem is, when the plugin inserts ads to the right of the page, it stays dead to the right. I have tried editing the CSS, however wordpress says the .css file which came with the plugin is not being used. Thus i cannot make any edits to it. I cannot find this in the .css page which came with the template either. To position, adwords extreme uses float instead of padding. The domain is itslikewhat.com. If you scroll down you should be able to see this.

    Thank you guys! Your help will be muchly appreciated!

  2. krowland08
    Member
    Posted 2 years ago #

    It looks like the CSS for the ad is coming from the google scripts that display it. Nothing you can edit, however, since the ad is in a class of "aw0" you might be able to add some supplemental CSS that styles that class, after the script runs. Either in your footer or in a custom CSS area of your theme.

  3. alchymyth
    Forum Moderator
    Posted 2 years ago #

    .adsxtrm{float:left!important;margin-left:380px!important;}

    adding this to style.css of your theme seems to bring the ads back into space.

    edit: or does the plugin allow formatting in its settings?

  4. krowland08
    Member
    Posted 2 years ago #

    alchymyth, Is the 380px parameter set according to the width of the sidebar, meaning if the sidebar width changes, so would this code.

    Just trying to improve my CSS knowledge.

  5. alchymyth
    Forum Moderator
    Posted 2 years ago #

    if the sidebar width changes, so would this code.

    yes - you would need to adjust the 380px if you change the sidebar width

  6. affmark
    Member
    Posted 2 years ago #

    Thank you Alchymyth The Sweeper! This has worked well. Thanks for your help! (Y)

Topic Closed

This topic has been closed to new replies.

About this Topic