The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Remove link image attached to image

3 posters

Go down

Solved Remove link image attached to image

Post by Guest November 24th 2022, 4:10 pm

So, I am using my own code to attach image before a link, and it works fine. But when I upload image by servimg and then add it, it becomes link for some reason and next to the image I can see the link img.

My code:

Code:
.post-content a {
  color:#1e88e5;
  text-decoration:none;
}
.post-content a::before {
  content: url('https://i.ibb.co/LhdS8fn/link.png');
}

Remove link image attached to image Screen96


Last edited by System32 on November 29th 2022, 8:08 pm; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: Remove link image attached to image

Post by tikky November 25th 2022, 2:30 am

Hello @System32,

You can use this solution (replace your code to)
Code:
.post-content a {
  color:#1e88e5;
  text-decoration:none;
}
.post-content a:not([href^="https://servimg.com/view/"]):not([href^="https://servimg.com/r/"])::before {
  content: url('https://i.ibb.co/LhdS8fn/link.png');
}
tikky
tikky
Forumember

Posts : 923
Reputation : 160
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

TonnyKamper likes this post

Back to top Go down

Solved Re: Remove link image attached to image

Post by skouliki November 29th 2022, 7:57 pm

When your request is complete, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 15397
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Remove link image attached to image

Post by SLGray November 29th 2022, 10:51 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


Remove link image attached to image Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51568
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum