• Resolved SydneyAHarris

    (@sydneyaharris)


    Hi there,

    I’m trying to customize my new site using the Twenty Fourteen theme. I have managed to change all the colors I want except for the title, which stubbornly remains bright green! I’ve altered the code in the “appearance” editor so that it now looks like this:

    `.site-title {
    float: left;
    font-size: 65px;
    color: #fff;
    font-weight: 400;
    line-height: 48px;
    margin: 0;
    }

    .site-title a {
    color: #fff;
    }

    .site-title a:hover {
    color: #fff;
    }’

    But even still, my title is bright green unless I hover over it, in which case it turns white, as it is supposed to. Here’s a link to the site: https://www.seacreaturefacts.com/

    Please help me out here- which part of the code should I actually be changing to make this work??

    Thanks!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • SideKick Dan

    (@shout-out-sidekick)

    Hey Sydney,

    changing colors for text that is linkable can be a pain!

    Here is a solution. Let me know if it works. I tested it in css inspector and works for me. Obviously you can change the colors to your preference.

    .site-title a {
    	color: #fff !important;
    }
    
    .site-title a:hover {
    	color: #000 !important;
    }

    the !important is a good tool to keep in your css arsenal. basically it tells the browser to give this style version preference regardless of where the css is put. You have to be careful of using it on div size elements that are controlled by media queries, or of applying it to text links as it could disable the hover effects occassionaly, but it works great with a lot of things ??

    Best Regards,
    danny

    Thread Starter SydneyAHarris

    (@sydneyaharris)

    omg you are a total life-saver, thank you!!

    SideKick Dan

    (@shout-out-sidekick)

    My pleasure! Let me know if you have any other issues ??

    Best Regards,
    Danny ??

    hi frnd……
    i have an issue…iam new to wordpress i want to customize twenty fourteen theme in header and side menu…i dnt know how to start which php file i want to change….please help me

    SideKick Dan

    (@shout-out-sidekick)

    Hello alexpandiyan,

    glad to help if we can ?? what kinds of changes are you looking to do?

    what you might do is move your question to its own separate thread or issue where you get a bit more specific about what exactly you’d like help with. This way other people needing help can maybe benefit from the solutions presented to your questions. and your specific questions will also be a separate thread.

    Danny ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: Twenty Fourteen] Change Color of Site Title’ is closed to new replies.