Support » Plugin: GS Posts Widget » Colour changes according to the date of the article

  • Resolved alexdjordjic

    (@alexdjordjic)


    Hello,
    Would it be possible to create the following possibility :
    The font colour can be set so that the items of the day appear in a different colour.
    This possibility would be very interesting for my news site so that visitors can quickly see the most recent articles.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor GS Plugins

    (@gsplugins)

    Hi @alexdjordjic

    Thanks for the query.

    Can you please send your site link to check? Also, inform which font color you wish to change / set?

    After checking, I can send you custom CSS to add.
    Hope it’ll help.

    Regards / Sarwar

    Thread Starter alexdjordjic

    (@alexdjordjic)

    Hi,
    Thanks for this answer.
    My website is offline (localhost).
    I can send you an example with a picture : https://zupimages.net/viewer.php?id=20/52/3tvm.png

    Plugin Contributor GS Plugins

    (@gsplugins)

    Hi,

    Thanks for the update.
    Unable to send CSS by checking screenshot.

    Please check Post Widgets demo & let me know which one you are using.

    So that I can inspect & send you CSS code.

    Thanks / Sarwar

    Thread Starter alexdjordjic

    (@alexdjordjic)

    I’m using Style 2

    Plugin Contributor GS Plugins

    (@gsplugins)

    Thanks.

    You can add below CSS to customizer.
    .gspw-posts .entry-title a { color: #ff1b0a; }

    Let us know.

    Thread Starter alexdjordjic

    (@alexdjordjic)

    Thanks for the code but it doesn’t work.
    The title keeps the same colour.

    Plugin Contributor GS Plugins

    (@gsplugins)

    Hi,

    That CSS working for me, but you may need to add !important – https://prnt.sc/waxhuv
    Try below code –
    .gspw-posts .entry-title a { color: #ff1b0a !important; }

    Thanks

    Thread Starter alexdjordjic

    (@alexdjordjic)

    Do I have to insert the code in the widget (add CSS) or in the “gspw-style.css” file?
    For the moment it doesn’t work.

    Thread Starter alexdjordjic

    (@alexdjordjic)

    Good evening.
    It’s working.
    Only problem, I only want the titles of the day to be in red.
    The previous day’s titles should be back to normal colour.

    Plugin Contributor GS Plugins

    (@gsplugins)

    Hi,

    Thanks for the good idea.
    You want current date’s title color (Items of the Day) in Red.
    Others title in normal color.

    Right now, this is not available.
    Hope to add soon.

    Regards / Sarwar

    Thread Starter alexdjordjic

    (@alexdjordjic)

    It would be great if you can do that !!
    Thanks a lot.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Colour changes according to the date of the article’ is closed to new replies.