How to center widget

Home Forums ColorMag Free How to center widget

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  Ashish 1 year, 5 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1339844

    Zajda
    Participant

    Hi,
    firts of all thank you for your template.

    I have one question: how can I center ad widget (right under the Search widget) on this page. It’s now left aligned.

    Thank you for your help.

    #1340236

    Zajda
    Participant

    Any advice, please?

    #1340356

    Ashish
    Moderator

    Hello Zajda

    You can add following code inside Appearance > Customize > Additional CSS :

    
    .g-single.a-15 {
        text-align: center;
    }
    

    If you get any issue later, feel free to ask again! We would really appreciate if you could provide us a review here: https://wordpress.org/support/theme/colormag/reviews/?filter=5

    Regards,
    ThemeGrill Support Team.

    #1340651

    Zajda
    Participant

    Thanks for the code, but I probably asked badly.
    I wanted to write how I center ad banners in general.
    This code centers only a specific banner no.15.

    #1341147

    Zajda
    Participant

    Any ideas?

    #1341178

    Ashish
    Moderator

    Hello Zajda
    Please replace above code with this:

    .g-single {
        text-align: center;
    }
    #1341256

    Zajda
    Participant

    Yes, this is it!
    Thanks

    #1341305

    Ashish
    Moderator

    Hello, Zajda

    That’s great. 🙂
    If you get any issue later, feel free to ask again! If you like our theme, you can help us by providing a review us here: https://wordpress.org/support/theme/colormag/reviews/?filter=5

    Regards,
    ThemeGrill Support Team.

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

You must be logged in to reply to this topic.