menu change, but no default.css (5 posts)

    Posted 3 years ago #

    I'm working with Rbox and would like to change the menu color, but I don't know how to locate the default.css file to change it.

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Look up making a child theme in WordPress.

  3. Or for a little more information then a one line reply...

    1. Create a child theme of the Rbox theme and activate that theme.


    2. Once you have wp-content/themes/rbox-child/style.css use a tool such as Firebug to identify the CSS that you need to update for the menu color.

    Chrome comes with an inspect element menu option but I've personally found Firebug to be more usable. Your mileage may vary. ;)

    3. When you have that CSS, put that and only that CSS into the child theme's style.css file.

    Make sure you don't edit any files in the rbox parent directory. That way your changes will remain intact if there is an update to that theme.

  4. Michael
    Forum Moderator
    Posted 3 years ago #

    please do not start new topics for an ongoing problem;
    I closed the other one as you seem to get more attention here.

    it helps if you can post a link to your site (in every new topic).
    without link you might only get general default suggestions which do not really help.

    the default.css is in a /css/ sub folder of your theme,
    and can therefore not be edited by the appearance - editor


    try to use ftp to access and edit the stylesheet,
    or edit style.css, add the menu styles which you want to change, and try to enforce your edits with !important for each style.

    ul.dropdown a:hover { color: #123edf!important; }

    Posted 3 years ago #

    Can I make a child theme for the default.css file?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.