• Resolved youngjc345

    (@youngjc345)


    Hello All,

    I’m trying to change the white background on the header behind the logo on this theme: http://www.showthemes.com/januas-demo/#

    The code in the header file is bolded below
    I’m trying to get the color to change from white to the same gray color as the slider below.
    Any assistance would be greatly appreciated

    <div id=”container” class=”<?php echo $home_layout; ?>”>

      <header class=”header” role=”banner”>

    <div id=”inner-header” class=”wrap clearfix”>

    <p id=”logo” class=”h1″>

    <?php

    $header_image = get_header_image();

    if ($header_image) :

    ?>

    “>

    <img src = “<?php echo $header_image; ?>” width = “<?php echo get_theme_support(‘custom-header’, ‘width’); ?>” height = “<?php echo get_theme_support(‘custom-header’, ‘height’); ?>” alt=”<?php bloginfo(‘name’); ?>” />

    <?php

    endif;

Viewing 2 replies - 1 through 2 (of 2 total)
  • In your Child Theme or CSS Editor Plugin try this code:

    header.header {
        background: #262626;
    }

    *Note
    If your theme has a custom CSS Editor in it, you can also paste the code in there.

    Never edit core CSS or PHP files under Appearance > Editor. Your edits will be deleted when the theme is updated.

    Thread Starter youngjc345

    (@youngjc345)

    Worked like a charm. Many Thanks.
    Unfortunately I have to do edits on the parent theme as apparently I am unable to make a child theme myself without “alot of changes”. This is what the creators of the theme had to say when I tried to resolve issues making a child theme.

    “Currently there is no child theme option for Januas. But we are launching it soon. Seems that you have created the child theme yourself. Then you have to apply a lot of changes on the parent theme files, inorder to work with the child theme. It will take a lot of time to do the changes. So it is better to use the parent theme now. We will release Januas child theme soon.”

    Hopefully keeping back ups work until then. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Theme: Januas] Header Background color’ is closed to new replies.