Tagged: widgets
- This topic has 3 replies, 2 voices, and was last updated 7 years, 10 months ago by Pratik.
-
AuthorPosts
-
January 28, 2017 at 2:00 am #108177ELLIOTTParticipant
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
ElliottJanuary 28, 2017 at 8:14 am #108194PratikParticipantHi @elliottrae,
Try following code in Appearance=> Customize=> Additional CSS box:
.sidebar-after-content .ct-advertisement-image .widget-title { text-align: center; }
Regards,
PratikJanuary 29, 2017 at 2:56 am #108225ELLIOTTParticipantHi, 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?
January 29, 2017 at 9:34 am #108235PratikParticipantHi @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.cssLet me know how it goes.
Regards,
Pratik -
AuthorPosts
- The topic ‘How to centre header on Advertisement widget’ is closed to new replies.