Home>Support>Style links within postloop widget

Style links within postloop widget

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Kristian

    Please send through a link to the page concerned and we’ll take a look.

    Thanks

  2. 10 years, 5 months ago kwells1979

    For some reason I cannot reply to this thread with my site address?

  3. 10 years, 5 months ago kwells1979

    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.

  4. 10 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    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;
    }
    
  5. 10 years, 5 months ago kwells1979

    Worked perfectly! Thank you very much!

  6. 10 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More