skip to Main Content
Our free WordPress themes are downloaded over 3 MILLION times. Get them now!

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
  • in reply to: Change header colours & logo size #210050

    Hi Noda,
    To change the colour of the whole bar, I use this code in the header file which seems to work:
    $style = 'style="background: rgb(40, 40, 40)"';

    Please could you tell me where the functions
    <?php shapely_get_header_logo(); ?> and <?php shapely_header_menu(); ?> are located?
    Also, how would I target just the top navigation links? Could I use the class menu-item or this also target other aspects of the website?

    The CSS code that you gave me doesn’t do anything if I put it in my child’s style.css file.
    Could I check that I have added my CSS file correctly?

    function my_theme_enqueue_styles() {
        $parent_style = 'shapely-style'; 
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style ),
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );


Viewing 1 post (of 1 total)
Disclosure: This page contains external affiliate links that may result in us receiving a commission if you choose to purchase mentioned product. The opinions on this page are our own and we don't receive additional bonus for positive reviews.
Back To Top