• ATE

    (@vasopanayilife)


    I am using virtue theme and would like to change menu background colour.
    How can I do it?

Viewing 15 replies - 1 through 15 (of 17 total)
  • esmi

    (@esmi)

    Do not edit the theme itself. First create a child theme for your changes. Or install a custom CSS plugin.

    Which menu? can you post a link?

    Kadence Themes

    Thread Starter ATE

    (@vasopanayilife)

    I am talking about the main menu
    http://www.vasopanagi.com/template1/

    I have created a child theme called virtue-child but when I go to appearnace/themes, I get the message “The parent theme is missing. Please install the “Virtue” parent theme.”

    9bode

    (@hello9bode)

    in your child theme .css file, make sure you specify the template name as parent theme name

    esmi

    (@esmi)

    make sure you specify the template name as parent theme name

    You actually need to use the parent theme’s folder name – not the theme name. And please be aware that this is case sensitive.

    Thread Starter ATE

    (@vasopanayilife)

    the templates that I have are: home and mobile_home
    I have now created a directory called home-child and get the message “The parent theme is missing. Please install the “home” parent theme.”

    thanks
    Vaso

    esmi

    (@esmi)

    Do you have a folder in wp-content/themes called “virtue”?

    Thread Starter ATE

    (@vasopanayilife)

    yes

    esmi

    (@esmi)

    What is in the comment section of your child theme’s style.css file?

    Thread Starter ATE

    (@vasopanayilife)

    /*
    Theme Name: home-child
    Theme URI: http://kadencethemes.com/product/virtue-free-theme/
    Description: Virtue Child Theme
    Author: VP
    Author URI: http://vasopanagi.com
    Template: home
    Version: 2.1.7
    Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
    Text Domain: virtue-child
    */

    /* =Theme customization starts here
    ————————————————————– */

    in which directory should I place this?

    esmi

    (@esmi)

    Change:

    Template: home

    to:

    Template: virtue

    Thread Starter ATE

    (@vasopanayilife)

    YES! It works!
    A million thanks

    Thread Starter ATE

    (@vasopanayilife)

    What is the difference of adding the css in this file instead of advanced options/custom css?

    esmi

    (@esmi)

    A child theme gives you greater flexibility when it comes to modifying the theme generally.

    Thread Starter ATE

    (@vasopanayilife)

    Got it!
    If I want to add a border line below the main menu, would the following css work?
    #mainmenu {
    border-bottom: thick dotted #ff0000
    }

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘menu colours’ is closed to new replies.