Hello,
I create a new support ticket for the same question than here because I can\'t reply to a private question.
So :
Thank you for your amazing work on the Post Grid plugin !
Could you please provide me with the exact custom CSS I should add to a layout to have
- the title link in red once clicked (Default is blue) ;
- the title hover in red (default is grey / lighter black)
?
The URL is : https://mlalerte.org/actualites/
or : https://mlalerte.org/communiques-plaidoyer-lanceurs-dalerte/
(I\'m using several grids on the website)
Thank you,
Blandine
Hi Blandine,
Welcome to PickPlugins.
Kindly follow my steps -
First, go to the Edit mode of your post grid.
Screenshot: https://i.imgur.com/WpSWrv9.png
Then under Layouts, look for the layout that you're using and go to the Edit mode.
Screenshot: https://i.imgur.com/A8ckz4t.png
Now select the Custom scripts section, copy the CSS code below, and paste it under the Custom CSS field. Then update the layout.
Screenshot: https://i.imgur.com/vjfT1Fr.png
Code:
.item .element.title a{
transition: all .4s ease !important;
}
.item .element.title a:hover{
color: #f93f26 !important;
}
.item .element.title a:visited{
color: #f93f26 !important;
}
Note: I also added a visited CSS selector. If you see the color red before hovering over a post title, that means you've already visited that link.
Also, if you've multiple post grids, then do the same thing for each one of them.
Let me know if it helps.
Regards.
Glad to know that it fixes the issue for you.
Would you mind writing a review for us? It’ll inspire us a lot.
You can post your review and rating here:
https://wordpress.org/support/plugin/post-grid/reviews
Thank you so much.