Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #108177
    ELLIOTT
    Participant

    Hi,

    I have a website http://www.musicfootballfatherhood.com and I am using the advertisement widget in the ‘after the content’ area. The title is currently on the eft hand side and I would like centre the title ‘advertisement’, could you please let me know what the code is for that.

    Thanks
    Elliott

    #108194
    Pratik
    Participant

    Hi @elliottrae,

    Try following code in Appearance=> Customize=> Additional CSS box:

    
    .sidebar-after-content .ct-advertisement-image .widget-title {
        text-align: center;
    }
    

    Regards,
    Pratik

    #108225
    ELLIOTT
    Participant

    Hi, this didn’t work. I had some work done by WENSOLUTIONS to create a drop down login page and since then a couple of pieces of code haven’t worked on the site. Could it be something to do with some settings they have done?

    #108235
    Pratik
    Participant

    Hi @elliot,

    It looks like you have WordPress version 4.6.1 installed. It should not have option Appearance=> Customize=> Additional CSS. So, where did you add the provided code?

    You have following options:
    1. Upgrade your WordPress installation to latest version, where you will get the place to add the code as mentioned above.
    2. Paste same code in Appearance=> Customize=> Theme Options=> Custom CSS box
    3. Add the same code at the bottom of your your child theme’s styles.css

    Let me know how it goes.

    Regards,
    Pratik

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to centre header on Advertisement widget’ is closed to new replies.