Edit Modify Or Change WordPress Links
The way links are shown on a WordPress theme are determined from the themes stylesheet. Every WordPress theme is coded slightly different but finding the code to change should be relatively easy. This is a short WordPress guide to give you a general understanding of how to find and change the behavior of the links in your WordPress theme.
First your themes files will need to be writable or you will need to edit the files in your hosting account or on your computer and FTP the edited files to your hosting account. I prefer to edit the files right from the dashboard. Either connect to your hosting account with an FTP client or login to the control panel of your hosting account and change the permissions of the themes files to 666 or 777. The location is the main directory WordPress is installed then this path: wp-config/themes/yourtheme.
Again, all themes are coded differently and the links for the blog title in the header, the post title, sidebar, footer and within the content may all have separate styles applied to them in the stylesheet, and each may be called something different. From the WordPress dashboard click Presentation or Design, Theme Editor and on the right click the style.css file. The basic links within the content of the posts may look like this:
a {
color: #333366;
text-decoration: none;
}a:visited {
color: #333366;
text-decoration: none;
}a:hover {
color: #336699;
text-decoration: none;
}
You may not have a visited or hover style but you can use the example above to add it if you wish.
An example of the the links in the header can be seen below.
#header a {
color: #333366;
text-decoration: none;
}#header a:visited {
color: #333366;
text-decoration: none;
}#header a:hover {
color: #336699;
text-decoration: none;
}
Notice the call for the header before the link, this specifies just the links in the header, usually for the blog title. As I said, all themes are coded differently but the clues to look for the specific area you want to edit are similar to the header example above.
Before you edit or add your specific style to your theme I strongly suggest making a backup of the stylesheet and save it on your computer as a text file! Now just change the hex color or text decoration to your liking and save the changes.
Some example of text decoration are:
- none
- underline
- overline
There is a world of knowledge on CSS text properties and colors available online and a simple Google for CSS text and hex color codes can provide much more than I can here in this simple post.
WordPress WordPress GuideIf you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Tagged with WordPress, WordPress Guide
Related Posts
5 Responses to "Edit Modify Or Change WordPress Links"
Discussion Area - Leave a Comment
If you have a question about your blog please leave a link to it. Please don't ask questions like "Why don't my blog work right?" and expect an answer. I can't fix stupid.Two links or less are welcome, any more and your comment will be spammed! Nofollow has been disabled, feel free to use your keywords or site name as your name for anchor text. Some comments may be moderated and will not appear until approved. Please submit only once.
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Or just copy the example below and change your details.
Example - Title Of Site











I appreciate the description and the link to the guide.
What’s the hex code of your blue link color. I like it
Oh, maybe I can grab it in your style.css So I will just ask permission to you. Can I?
Arlo its #223FBF. If you use Firefox browser there is an extension you can add called ColorZilla Color Picker. You click it in the bottom left of your browser then place the cursor on a color and it will tell the hex number.
https://addons.mozilla.org/en-US/firefox/addon/271
Or use the best addon for Webdeveloper.
http://chrispederick.com/work/web-developer/
I like it, because so many informations!
Thanks for the advice I’m going to try it now. I will put a wordpress blog on my site with our own theme.