Return to Support

help centering ad on container before

Home Forums Graphene WordPress theme Support help centering ad on container before

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9819

    So I moved a banner ad to the container before widget area and it appeared. Great. But it’s not centered. Not great. I’m guessing this is a CSS fix but I’m not sure what code will center the ad. Any help?

    http://thefilmbox.org/

    Thanks in advance. 🙂

    #44634

    Which ad on your site are you referring to? They all seemed centered to me.

    Moved to Support.

    #44635

    Sorry the top banner ad. It’s hugging the left side of the page and I want it squarely in the middle. My bad.

    #44636
    Luko
    Member

    Add this CSS code to your child theme style.css or custom css in Graphene options:

    #text-11 {
    text-align: center;
    }

    P.S. Remember that “text-11” is div ID of that widget. If you change the widget you’ll have to update the ID.

    #44637

    Thanks! It worked!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.