Copy link to clipboard
Copied
Okay so I don't know how to fix this...
No matter what I change, it changes all the links, or it doesn't change it at all.
See how the footer is all white because of the link? I need it to be black, while keeping the rest of my links white.
Copy link to clipboard
Copied
It's hard to say exactly what you should do without seeing your code, but you can target specific links on your page by creating a selector in your css that applies only to items within their parent element, something like...
#footer_id a {
color:red;
}
(only affects <a> tags within an element with the id="footer_id")
Replace #footer_id with the id of the container holding those links and add in the color you want.
Copy link to clipboard
Copied
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<link rel="stylesheet" type="text/css" href="Untitled-1.css">
<title>../../files/9cf0c44f-4a85-4301-9ad8-0ae0972b754c/generated-html-html.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: none;
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
</style>
<br/>
<style type="text/css">
<!--
p {margin: 0; padding: 0;} .ft10{font-size:17px;font-family:Arimo;color:#000000;}
.ft11{font-size:12px;font-family:Arimo;color:#52a1bd;}
.ft12{font-size:37px;font-family:Arimo;color:#212121;}
.ft13{font-size:21px;font-family:Arimo;color:#212121;}
.ft14{font-size:21px;line-height:31px;font-family:Arimo;color:#212121;}
-->
</style>
</head>
<body bgcolor="#A0A0A0" link="blue" vlink="blue">
<div id="page1-div" style="position:relative;width:892px;height:1262px;">
<img width="892" height="1262" src="generated-html001.png" alt="background image"/>
<p style="position:absolute;top:199px;left:310px;white-space:nowrap" class="ft10">CHECK OUT OUR NEW ARRIVALS</p>
<p style="position:absolute;top:21px;left:42px;white-space:nowrap" class="ft11">M A R C H   2 0 1 7</p>
<p style="position:absolute;top:942px;left:300px;white-space:nowrap" class="ft12">SPRING IS HERE</p>
<p style="position:absolute;top:1040px;left:200px;white-space:nowrap" class="ft14">Read on to find more about our latest collection and <br/>GemGem news! Don't forget to connect with us on our <br/>social media platforms.</p>
</div>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<title>../../files/9cf0c44f-4a85-4301-9ad8-0ae0972b754c/generated-html-html.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<br/>
<style type="text/css">
<!--
p {margin: 0; padding: 0;} .ft20{font-size:14px;font-family:Arimo;color:#ffffff;}
.ft21{font-size:12px;font-family:Arimo;color:#faf9f6;}
.ft22{font-size:24px;font-family:Arimo;color:#ffffff;}
.ft23{font-size:24px;line-height:35px;font-family:Arimo;color:#ffffff;}
-->
</style>
</head>
<body bgcolor="#A0A0A0" vlink="blue" link="blue">
<div id="page2-div" style="position:relative;width:892px;height:1262px;">
<img width="892" height="1262" src="generated-html002.png" alt="background image"/>
<p style="position:absolute;top:24px;left:185px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/rylee-cru-circus-circus-tee-vanilla">SHOP NOW</a></p>
<p style="position:absolute;top:411px;left:78px;white-space:nowrap" class="ft21">P .   0 2</p>
<p style="position:absolute;top:504px;left:34px;white-space:nowrap" class="ft23">Take a peek <br/>at the latest </p>
<p style="position:absolute;top:576px;left:29px;white-space:nowrap" class="ft22">arrivals from </p>
<p style="position:absolute;top:612px;left:43px;white-space:nowrap" class="ft22">our recent </p>
<p style="position:absolute;top:648px;left:45px;white-space:nowrap" class="ft22">collection!</p>
<p style="position:absolute;top:24px;left:481px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/joah-love-ash-black-neal-triangle-print-shorts">SHOP NOW</a></p>
<p style="position:absolute;top:839px;left:175px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/rylee-cru-tents-kaftan-dress-rosewood">SHOP NOW</a></p>
<p style="position:absolute;top:24px;left:763px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/rylee-cru-le-tigre-boxy-top-mustard-rylee-cru-le-tigre-boxy-top-mus...">SHOP NOW</a></p>
<p style="position:absolute;top:432px;left:326px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/rylee-cru-star-maxi-skirt-vanilla">SHOP NOW</a></p>
<p style="position:absolute;top:432px;left:765px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/joah-love-boys-xavier-grid-shorts">SHOP NOW</a></p>
<p style="position:absolute;top:844px;left:474px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/joah-love-boys-xavier-grid-shorts">SHOP NOW</a></p>
<p style="position:absolute;top:844px;left:770px;white-space:nowrap" class="ft20"><a href="https://www.egemgem.com/products/joah-love-byron-tri-beldn-top-with-stripe-pocket">SHOP NOW</a></p>
</div>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<title>../../files/9cf0c44f-4a85-4301-9ad8-0ae0972b754c/generated-html-html.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<br/>
<style type="text/css">
<!--
p {margin: 0; padding: 0;} .ft30{font-size:27px;font-family:Arimo;color:#faf9f6;}
.ft31{font-size:17px;font-family:Arimo;color:#ffffff;}
.ft32{font-size:27px;line-height:39px;font-family:Arimo;color:#faf9f6;}
-->
</style>
</head>
<body bgcolor="#A0A0A0" vlink="blue" link="blue">
<div id="page3-div" style="position:relative;width:892px;height:1262px;">
<img width="892" height="1262" src="generated-html003.png" alt="background image"/>
<p style="position:absolute;top:194px;left:62px;white-space:nowrap" class="ft32"><a href="https://www.egemgem.com/collections/apparel/products/chevron-intarsia-sweater">LULULALA <br/>SALE IS <br/>HAPPENING <br/>RIGHT NOW! <br/>DON'T MISS <br/>OUT ON <br/>THESE <br/>GREAT <br/>DEALS! </a></p>
<p style="position:absolute;top:932px;left:622px;white-space:nowrap" class="ft31"><a href="https://www.egemgem.com/collections/apparel/products/lovely-star-tutu">SALE $36.99</a></p>
<p style="position:absolute;top:932px;left:177px;white-space:nowrap" class="ft31"><a href="https://www.egemgem.com/collections/apparel/products/scon-stripe-pullover">SALE $33.99</a></p>
<p style="position:absolute;top:1193px;left:407px;white-space:nowrap" class="ft31"><a href="https://www.egemgem.com/collections/apparel/products/ribbed-legging">SALE $13.99</a></p>
</div>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<title>../../files/9cf0c44f-4a85-4301-9ad8-0ae0972b754c/generated-html-html.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<br/>
<style type="text/css">
<!--
p {margin: 0; padding: 0;} .ft40{font-size:27px;font-family:Arimo;color:#faf9f6;}
.ft41{font-size:21px;font-family:Arimo;color:#ffffff;}
.ft42{font-size:17px;font-family:Arimo;color:#ffffff;}
.ft43{font-size:27px;line-height:39px;font-family:Arimo;color:#faf9f6;}
-->
</style>
</head>
<body bgcolor="#A0A0A0" vlink="blue" link="blue">
<div id="page4-div" style="position:relative;width:892px;height:1262px;">
<img width="892" height="1262" src="generated-html004.png" alt="background image"/>
<p style="position:absolute;top:125px;left:586px;white-space:nowrap" class="ft43">READY FOR <br/>SPRING: <br/>GET YOUR<br/>LATEST <br/>SPRING <br/>ACCESSORIES <br/>NOW!</p>
<p style="position:absolute;top:532px;left:631px;white-space:nowrap" class="ft41"><a href="https://www.egemgem.com/collections/accessories/products/flower-headband-1">SHOP NOW</a></p>
<p style="position:absolute;top:957px;left:209px;white-space:nowrap" class="ft42"><a href="https://www.egemgem.com/collections/accessories/products/handmade-big-bow-hair-clip">SHOP NOW</a></p>
<p style="position:absolute;top:954px;left:608px;white-space:nowrap" class="ft42"><a href="https://www.egemgem.com/collections/accessories/products/spring-animal-crossbody-purse">SHOP NOW</a></p>
<p style="position:absolute;top:1179px;left:395px;white-space:nowrap" class="ft42"><a href="https://www.egemgem.com/collections/accessories/products/bow-glitter-knee-socks">SHOP NOW</a></p>
</div>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<title>../../files/9cf0c44f-4a85-4301-9ad8-0ae0972b754c/generated-html-html.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<br/>
<style type="text/css">
<!--
p {margin: 0; padding: 0;} .ft50{font-size:32px;font-family:Arimo;color:#faf9f6;}
.ft51{font-size:37px;font-family:Arimo;color:#212121;}
.ft52{font-size:14px;font-family:Arimo;color:#212121;}
-->
</style>
</head>
<body bgcolor="#A0A0A0" vlink="blue" link="blue">
<div id="page5-div" style="position:relative;width:892px;height:1262px;">
<img width="892" height="1262" src="generated-html005.png" alt="background image"/>
<p style="position:absolute;top:72px;left:92px;white-space:nowrap" class="ft50">WE ARE NOW A MEMBER OF BABYCCINO </p>
<p style="position:absolute;top:120px;left:338px;white-space:nowrap" class="ft50">BOUTIQUES</p>
<p style="position:absolute;top:997px;left:251px;white-space:nowrap" class="ft51">CONNECT WITH US</p>
<div class="footer">
<p style="position:absolute;top:1138px;left:173px;white-space:nowrap" class="ft52">To ensure delivery, please add info@egemgem.com to your address book.</p>
<div class="footer">
<p style="position:absolute;top:1172px;left:227px;white-space:nowrap" class="ft52"><a href="http://www.egemgem.com/">Gemgem | 17145 Von Karman Ave #109, | Irvine, CA 92614 </a></p>
<p style="position:absolute;top:1195px;left:372px;white-space:nowrap" class="ft52"><a href="http://www.egemgem.com/">www.egemgem.com </a></p>
<p style="position:absolute;top:1217px;left:306px;white-space:nowrap" class="ft52"><a href="http://www.egemgem.com/">© 2017 Gemgem, All  Rights Reserved</a></p>
</div></div></div>
</body>
</html>
CSS
footer {
a:link {color:black};
a:visited {color:black};
a:hover, #footer a:active, #footer a:focus
{color:black};
}
The reason there is so little css is because this was a pdf I converted to html.
Copy link to clipboard
Copied
Have you defined a site in DW yet?
Without that first step, you're going to run into huge problems using DW, especially when you upload your site because the program is using the absolute path to your images/pages on your computer, rather than document relative links that it will need when the site goes live.
The CSS should be written as...
footer a:link {
color:black;
}
footer a:visited {
color:black;
}
footer a:hover, footer a:active, footer a:focus {
color:black;
}
Copy link to clipboard
Copied
Well this HTML formatting is not helping matters any. Get rid of it.
<body bgcolor="#A0A0A0" vlink="blue" link="blue">
Copy link to clipboard
Copied
https://forums.adobe.com/people/Nancy+OShea wrote
Well this HTML formatting is not helping matters any. Get rid of it.
<body bgcolor="#A0A0A0" vlink="blue" link="blue">
I count 4 doctype declarations.
I'm baffled, Shoot me again!
Copy link to clipboard
Copied
uh what? Anyways again, that's probably because it was converted from a pdf file... I made it with Canva and didn't know it could only be exported as image files or pdf until after I finished so I've been trying to convert/fix it all in html. Or it's because there are 4 separate pages.
Copy link to clipboard
Copied
Why don't you start over with a clean, HTML5 document? What you have now is not worth salvaging.
Be sure to define your local site folder first. Site > New Site.
Then, go to File > New > Starter Templates. Pick a layout and hit Create button. SaveAs some filename.html
Post back if you have any problems.
Nancy
Copy link to clipboard
Copied
Got rid of it.
Copy link to clipboard
Copied
If you're using HTML5 tags,
footer a {
color: black;
}
If your tag selector is anything but <footer>, adjust CSS accordingly. Also move the footer link style to the bottom of your stylesheet, below all the other link styles.
Nancy
Copy link to clipboard
Copied
Nope... didn't work.
Copy link to clipboard
Copied
The info I posted above only works if you have used the <footer> element in a valid html document, and would go into the <style> tag in the <head> of the document, or into an external .css stylesheet.
It looks like you've pasted several complete documents together into one, that's probably going to cause issues in your viewer's browsers as well.
Take a moment to familiarize yourself with html and css, DW requires an understanding of those as well as some javascript to make the most of the program.
Copy link to clipboard
Copied
I have it in between
<div class=footer></div>
Find more inspiration, events, and resources on the new Adobe Community
Explore Now