: Changing CSS styling for static HTML site with only FTP access A client has an older static HTML site which I would like to port over to WordPress, but I have been informed that this can
A client has an older static HTML site which I would like to port over to WordPress, but I have been informed that this can be very time consuming re 50 pages.
I have FTP access for various reasons because the owner cannot get the login details for me, and have found that there is no style.css files/folders even though I see CSS styling in the code on each page. How would I go about changing the CSS style for just the home page so I can give the page a more up to date look? Directly via the CSS styling code on the page?
More posts by @Caterina187
1 Comments
Sorted by latest first Latest Oldest Best
You could use inline css.
An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section of an HTML page, inside the tag, like this:
<head>
<style>
hr {color: sienna;}
p {margin-left: 20px;}
body {background-image: url("images/background.gif");}
</style>
</head>
An inline style loses many of the advantages of a style sheet (by mixing content with presentation). Use this method sparingly!
To use inline styles, add the style attribute to the relevant tag. The style attribute can contain any CSS property.
You can also use !important to override any css styles;
#example p {
color: blue;
}
... #example p {
color: red;
}
The later rule overrides the earlier rule, and paragraphs within #example will be red.
Hope this helps.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.