Style links within postloop widget
I have used custom CSS to stylise links on my website. However, I want the links on my main news page to have a different style. The page is using a postloop widget to display new posts.
I’ve have tried using the custom CSS in appearance settings as well as applying a custom class in the widget settings but nothing seems to change it.
All I want to do is change the colour of the links.
Thanks for any help.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
6Hi Kristian
Please send through a link to the page concerned and we’ll take a look.
Thanks
For some reason I cannot reply to this thread with my site address?
It’s currently under a test site: e49{DOT}3c0{DOT}myftpupload{DOT}com/news/
All my links are currently set to display as Red which is what I want for the main site but on this page I don’t like how it effects the title and dates etc of each Post so what them to be in Black. This is only for the postloop widget, I want the archive etc on the right hand side of the news page to remain in red.
Thanks for any help.
Try the following under Appearance > Custom CSS. You can adjust the colors as required:
/* Post Loop Widget */ #main .widget_siteorigin-panels-postloop a { color: #000; } #main .widget_siteorigin-panels-postloop a:hover { color: #000; }Worked perfectly! Thank you very much!
For sure, glad that helped.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.