WordPress.org

Forums

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

  1. SPECTRASF
    Member
    Posted 2 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
    Forum moderator & snail smusher
    Posted 2 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.

    http://wordpress.org/extend/themes/rbox
    http://codex.wordpress.org/Child_Themes

    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. alchymyth
    Forum Moderator
    Posted 2 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,
    /wp-content/themes/rbox/css/default.css
    and can therefore not be edited by the appearance - editor

    http://codex.wordpress.org/Editing_Files

    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.

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

  5. SPECTRASF
    Member
    Posted 2 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

Tags

No tags yet.