- This topic has 23 replies, 4 voices, and was last updated 4 years, 3 months ago by
Elvin.
-
AuthorPosts
-
December 19, 2021 at 1:35 am #2053441
Shami
I want to create a shadow effect around quotes.
Check here

Also, I want to create underline below the links as one this page:
December 19, 2021 at 4:20 pm #2053985Elvin
StaffCustomer SupportHi there,
Can you link us to the sample page having this exact element on your site?
To check which selectors can be used to achieve your preferred styling.
I’ve checked the page you’ve linked but I didn’t see this one in particular. (Perhaps I missed it. If I did, can you point me to where specifically it’s located? thanks)
December 20, 2021 at 5:33 am #2054379Shami
First, I want to know how to create such stylish underline below links.
There are lots of links on this page:
December 20, 2021 at 10:57 am #2054810Ying
StaffCustomer SupportThis is the CSS that website is using, you can give it a try:
.entry-content a:not(.button):not(.wp-block-button__link):not(.gb-button) { text-decoration: none; background-image: linear-gradient( transparent 2px, #2ed392 2px, #2ed392 4px, transparent 4px ), linear-gradient( transparent 2px, #d8dce9 2px, #d8dce9 4px, transparent 4px ); background-size: 0% 6px, 100% 6px; background-position: 0 bottom, 0 bottom; transition: background-size 0.3s ease-in-out; background-repeat: no-repeat; padding-bottom: 4px; font-weight: 700; } .entry-content a:hover:not(.button):not(.wp-block-button__link) { color: #115cfa; background-size: 100% 6px; }December 21, 2021 at 1:45 am #2055283Shami
I tried it. And cleared the cache. it’s not having any effect on the links. I’m not seeing any difference. Only buttons shrink weirdly.
December 21, 2021 at 5:43 am #2055460David
StaffCustomer SupportHi there,
can you share a link to YOUR site where we can see the links ?
December 21, 2021 at 6:10 am #2055495Shami
Yes, sure.
I’ve shared the website blog. Open any article and see the links.
December 21, 2021 at 6:36 am #2055523David
StaffCustomer SupportTry this CSS:
.entry-content p a { text-decoration: none; background-image: linear-gradient( transparent 2px, #2ed392 2px, #2ed392 4px, transparent 4px ), linear-gradient( transparent 2px, #d8dce9 2px, #d8dce9 4px, transparent 4px ); background-size: 0% 6px, 100% 6px; background-position: 0 bottom, 0 bottom; transition: background-size 0.3s ease-in-out; background-repeat: no-repeat; padding-bottom: 4px; font-weight: 700; } .entry-content p a:hover { color: #115cfa; background-size: 100% 6px; }It will only style links inside a paragraph thats in the main content.
December 21, 2021 at 7:06 am #2055554Shami
It’s not working. I added the css. Cleared the cache. No change.
Update: I checked the same CSS on my other website.. It worked. What could be the issue?
I cleared the cache.
December 21, 2021 at 8:03 am #2055785David
StaffCustomer SupportWhere did you add the CSS to your site?
December 21, 2021 at 9:19 am #2055882Shami
In “Additional CSS” under Customize section in WordPress.
December 21, 2021 at 9:34 am #2055908David
StaffCustomer SupportMove it to the top of the Additional CSS.
December 21, 2021 at 9:56 am #2055930Shami
Moved it to the top. Stil not seeing the change. When I added to my another website, it worked instantly, but for some reason it’s not working here.
December 21, 2021 at 10:00 am #2055933David
StaffCustomer SupportThe i can only assume you have some plugins caches or server caches that need clearing.
December 21, 2021 at 10:08 am #2055939Shami
Hey that worked. I added the CSS via plugin.
Now please help add shadow like effect around quotes.
Check the image in the very first comment in this thread.
-
AuthorPosts
- You must be logged in to reply to this topic.