visited and hover color of a link

0
visited and hover color of a link 1
blsd
Dec 21, 2022 10:14 PM 1 Answers
Member Since Jul 2022
Subscribed Subscribe Not subscribe
Flag(0)

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

2 Subscribers
visited and hover color of a link 1
visited and hover color of a link 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
visited and hover color of a link 4
Azizul Raju
Dec 22, 2022
Flag(0)

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.

visited and hover color of a link 5
Azizul Raju
- Jan 10, 2023 10:25 AM
Flag (0)
0

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.

visited and hover color of a link 6
blsd
- Jan 09, 2023 09:18 PM
Flag (0)
0

Thank you very much.
It helps a lot. The grids are working perfectly now.

Best,
Blandine

Sign in to Reply
Replying as Submit