I would recommend to assign a class to that link.
https://www.w3schools.com/css/css_syntax.asp
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Where is the contact link you refer to?
Hi,
Thanks for reply.
You’d need to create an account to see it.
Once there, clicking on an ad will get you to contact details, under contact details there is a ‘contact… ‘ hyperlink.
The div is:
‘showhomepage’ so i tried
.showhomepage a {
display: inline-block;
background-color: #000000;
}
didn’t work
My css box keeps automatically deleting what i put in it…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What is the full HTML when you say “the div is”?
<div class=”showawpcpadpage”>
<div class=”awpcp-ad-primary-image”>
Click to enlarge image.</div>
<div class=”awpcp-subtitle”>Contact Information</div>
Contact Nac
So div is awpcp-subtitle?
Or
.awpcp-subtitle a. {
etc: etc;
?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you post that again but make sure you use the “code” button – so that your code is surrounded in the backtick character.
Like so:
Hello World
Hi,
So. This should work. Did for me.
a[href=”google.com”] {
background: green; color: white; padding: 5px;
}
Thanks
-
This reply was modified 7 years, 4 months ago by
adsler26.
This is resolved for me. Thanks