{"id":9280,"date":"2023-12-13T04:38:52","date_gmt":"2023-12-13T04:38:52","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?post_type=manual_kb&#038;p=9280"},"modified":"2025-11-22T04:48:36","modified_gmt":"2025-11-22T04:48:36","slug":"how-to-change-link-color-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/how-to-change-link-color-in-wordpress\/","title":{"rendered":"How to change link color in WordPress"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this article, we will learn how to change link color in WordPress because using different colors for visited and unvisited links makes&nbsp;<strong>your site easier to navigate and make your site user friendly.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This article is going to help you especially when you are using a theme which neither provides suitable color for the link nor any feature to change it. So following these super easy steps, you can change link color in WordPress.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"%e2%9c%85-steps-to-change-link-color-in-wordpress\">\u2705&nbsp;<strong>Steps<\/strong> <strong>to change link color in WordPress<\/strong><\/h4>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-1-open-wordpress\"><strong>Step-1.<\/strong>&nbsp;<strong>Open WordPress<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Login into your WordPress dashboard.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-2-customize-theme\"><strong> Step- 2.&nbsp;Customize Theme<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Go to&nbsp;<strong>Appearance &gt; Customize<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"541\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/08\/2-edited-1.jpg\" alt=\"change link color in wordpress\" class=\"wp-image-3628\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/08\/2-edited-1.jpg 960w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/08\/2-edited-1-768x433.jpg 768w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-3-open-additional-css\"><strong>Step-3. Open Additional CSS<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"> Click on the&nbsp;bottom left side that says &#8220;<strong>Additional CSS<\/strong>&#8220;.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/08\/3-edited-2.jpg\" alt=\"\" class=\"wp-image-3634\" width=\"764\" height=\"478\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/08\/3-edited-2.jpg 864w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/08\/3-edited-2-768x480.jpg 768w\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-4-add-code\"><strong>Step-4. Add code<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;Add the following code in the box that comes up but<em> <strong>make sure you don\u2019t delete existing CSS!<\/strong><\/em> and click on publish button at the top.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\na \n {\n    color: #0031FF;\n }\n<\/pre><\/div>\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2021\/08\/4.jpg\" alt=\"\" class=\"wp-image-3635\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/08\/4.jpg 1280w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2021\/08\/4-768x432.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u201ca\u201d stands for \u201canchor\u201d<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">color <strong>#00ffff, (bright blue code).<\/strong>&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This code will set the&nbsp;<strong>default<\/strong>&nbsp;link color. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will learn how to change link color in WordPress because using different colors for visited and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6884,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"iawp_total_views":104,"footnotes":""},"categories":[350,2258],"tags":[],"class_list":["post-9280","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase","category-kb-wordpress"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=9280"}],"version-history":[{"count":0,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9280\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/6884"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=9280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=9280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=9280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}