help centering ad on container before

  • TheFilmBox.org

    #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. 🙂

    Mod

    Kenneth John Odle

    #44634

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

    Moved to Support.

    TheFilmBox.org

    #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.

    Luko

    #44636

    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.

    TheFilmBox.org

    #44637

    Thanks! It worked!

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

You must be logged in to reply to this topic.