• Hi

    Thanks for taking a look, I am building a site for a friend (https://www.teslaweddings.co.uk) and he wants a custom static front page with different font colour settings for all masthead items to the rest of the site, but I have had an issue getting the link items in the masthead to change.

    I am fairly confident that I have missed something fundamental but any help would be appreciated. I have created a 2016 child style and a custom page, and the associated css code is below ( Yes I know some of it is global but I have got that frustrated with myself I thought I should start off by trying to make a global change and when successful add the conditional ‘Home’ page statements:

    #page {
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background-color: transparent ;
    }
    .site-title a {
    color: #ffffff;
    }

    h1 {
    color: #ffffff;
    }
    p {
    color: #ffffff;
    }
    a {
    color: #ffffff;
    }

    #masthead {
    colour: #ffffff;
    }

    .home {
    color: #ffffff;
    }

    body.home .entry-header {
    float: right;
    display: none;
    }

    #content.home {
    float: right;

    /* width: 640px */

    }
    #sidebar.home {
    display: none;
    }

    .warning {
    color: red;
    }
    .shadow {
    box-shadow: 0 8px 8px -6px #333;
    }

Viewing 1 replies (of 1 total)
  • Thread Starter Honywood

    (@honywood)

    I’ve updated a little of the css code:

    /*
    Theme Name: twentysixteen Child Theme
    Theme URI: https://hyperlinkcode.com/blog/?p=1021
    Description: A bare-bones child theme for use with twentysixteen Theme from WordPress. To use this Child Theme, you must have twentysixteen parent theme installed.
    Author: Edward Zivkovic
    Author URI: https://hyperlinkcode.com/
    Template: twentysixteen
    Version: 1.0.0
    */

    /* Add Custom CSS after this line */
    .home #page
    {
    background-image: url(“https://www.teslaweddings.co.uk/wp-content/uploads/2015/12/DBM838-2-e1451561072969.jpg”);
    background-position: center bottom;
    background-repeat: no-repeat;
    }

    .site-branding .site-title a {
    color: #a6f94d;
    }

    .site-header-main {
    color: #ffffff
    }

    body.Home .entry-header {
    background-color:transparent;
    float: left;
    display: none;
    }

    #content.Home {
    float: right;
    background-color:transparent;
    /* width: 640px */

    }
    #sidebar.Home {
    display: none;
    }

    .warning {
    color: red;
    }
    .shadow {
    box-shadow: 0 8px 8px -6px #333;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Twenty Sixteen Custom static (custom) home page font issues…’ is closed to new replies.