Adding Red Text to Homepage
Kentinada
Registered Users Posts: 54 Big grins
I am trying to add some red formatted text to my homepage and the formatting isn't working. Here is what it looks like:
Here is what it looks like on edit mode and this is how it should look:
The HTML code is:
ON SALE THROUGH
December 24th
ONLY $10!
The CSS code is:
p {
font-size:28px!important;
color: black;
font-style:italic;
text-align: center;
} .redtext { color: red; font-weight: bold; } .percent { color: #0000a0; } </style> </head>
The !important tag in the CSS was suggested by smugmug support but that didn't fix it. Any help would be appreciated.
web: www.adahighlanderphotography.com
FB: www.facebook.com/adahighlanderphotography.com
blog: blog.adahighlanderphotography.com
0
Comments
Sorry about the code. I tried highlighting it and going to the format menu and picking Code but that didn't seem to make it readable. If there is something else I should try, please respond. Thanks.
web: www.adahighlanderphotography.com
FB: www.facebook.com/adahighlanderphotography.com
blog: blog.adahighlanderphotography.com
If you italicize or bold every < in the html it will show and not activate.
BTW. I don't think you can use head or style as html.
My Website index | My Blog
I think you can also highlight the code, then use the paragraph dropdown and select QUOTE - that works better for me than marking it as CODE.
Musings & ramblings at https://denisegoldberg.blogspot.com
Trying again to post the code. Here is the HTML:
Here is the CSS:
This time using the Code option worked. @denisegoldberg I tried the Quote option and it didn't work for me. Anyway, now the code is visible which I'm pretty sure I got here some time ago. Suggestions?
web: www.adahighlanderphotography.com
FB: www.facebook.com/adahighlanderphotography.com
blog: blog.adahighlanderphotography.com
Do not use
<head>
,<body>
or<html>
tags.Your HTML Box:
Your CSS:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
@Hikin' Mike thank you!!! I assume the head, body, and html tags are for stand-alone pages?
web: www.adahighlanderphotography.com
FB: www.facebook.com/adahighlanderphotography.com
blog: blog.adahighlanderphotography.com
No. Unless you are creating a website from scratch (which you're not) you don't use them. SmugMug already adds them in the template.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk