• Resolved Asakasan

    (@asakasan)


    Hi Ben,

    thanks for your theme. =)

    I have two questions:

    1) I’d like to switch the background color, but I don’t know what I have to write in my Tracks child theme.

    2) Is there a way to make new comments visible on the site home page?

    Thanks a lot!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks!

    To change the background color, you won’t even need to use a child theme. You can simply copy and paste the following code into the “Custom CSS” section in the Customizer:

    .main,
    .overflow-container,
    .site-header {
      background: #4d4d4d;
    }

    That will change the background to a lighter gray color. You can change the “4d4d4d” to another “hexadecimal color code” to change the background to any color you’d like.

    For the comments, there is currently not a way to do this without a lot of customization and code.

    Thread Starter Asakasan

    (@asakasan)

    Ok!

    Thanks for your answer and help. =)

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome ??

    Hey sorry for digging up an old thread.

    The code above works wonders for the main page. But how do I get the same for singular pages, and post entry pages?

    Thanks for the awesome support!

    Theme Author Ben Sibley

    (@bensibley)

    Okay try the following CSS:

    body,
    .excerpt,
    .main,
    .menu-primary-items ul,
    #site-header {
    	background: #fff !important;
    }
    #menu-primary-items a,
    #title-info a {
    	color: #000;
    }

    This will change the background color for all pages to white and make the menu items black. You can change the hexadecimal color codes (#000) to any color you’d like.

    You can copy and paste that code into the “Custom CSS” section in the Customizer (Appearance > Customize). Once added there, it should take affect right away.

    Hello Ben,

    How can I change the color of the (now) white page where the tekst is in?

    Its does’nt change with the option provided here.

    Theme Author Ben Sibley

    (@bensibley)

    Do you mean this section of the page: https://pics.competethemes.com/image/3M3N3R3B4623

    Yes that’s the section i mean.

    Theme Author Ben Sibley

    (@bensibley)

    Okay cool, thanks for clarifying!

    Here’s the CSS you can use to change the background of that section:

    .entry {
      background: #43b3c4;
    }

    I made it blue so you can tell right away when it’s working, but you can change the “#43b3c4” value to any color code you’d like.

    It works like a charm!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change background color and comments in home page’ is closed to new replies.