WordPress.org

Forums

[resolved] [Theme: Twenty Fourteen] Change Color of Site Title (6 posts)

  1. SydneyAHarris
    Member
    Posted 1 year ago #

    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: http://www.seacreaturefacts.com/

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

    Thanks!!

  2. SideKick Dan
    Member
    Posted 1 year ago #

    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

  3. SydneyAHarris
    Member
    Posted 1 year ago #

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

  4. SideKick Dan
    Member
    Posted 1 year ago #

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

    Best Regards,
    Danny :)

  5. alexpandiyan
    Member
    Posted 1 year ago #

    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

  6. SideKick Dan
    Member
    Posted 1 year ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic