• Resolved janbletz

    (@janbletz)


    A second css question. I’d like to change the colour settings overall. The main menu another colour, as well as the submenu’s which go with it, as well as the footer and the archives menu’s. The standard blue is OK, but I need something different.

    • This topic was modified 7 years, 9 months ago by janbletz.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Richie KS

    (@rkcorp)

    the only color customization available is in customizer->colors.

    • This reply was modified 7 years, 9 months ago by Richie KS.

    Ideally you should write your own CSS rules ina separate file to override default theme CSS rules and enqueue it through your theme’s functions.php file.

    For example you create your own CSS rules in a file called ‘my-custom.css’. Then you need to put it like this in functions.php:

    
    function add_custom_resources(){
      wp_enqueue_style('my-custom', get_stylesheet_uri(), array(), mt_rand(), 'all');
    }
    
    add_action('wp_enqueue_scripts', 'add_custom_resources');
    
    

    This will ensure that even you update the theme your overridden rules will not get affected still remain in your custom style sheet.

    Hope this helps.

    Thread Starter janbletz

    (@janbletz)

    Thank you, very informative… yes I was afraid it might be something like that ?? I don’t know how to work with css, so that’s a bit of a setback. Alas.

    Theme Author Richie KS

    (@rkcorp)

    @subrataemfluence
    thx for the info, actually using customizer->general->custom css, also won’t overwrite when update unless you reset the customizer tho.

    @janbletz
    yeap, afraid i can’t guide on css customization step by step.

    Thread Starter janbletz

    (@janbletz)

    Of course not… maybe this could be an extra feature in the next version of this theme. Would really be great. Or write a guide how to tweak each individual element? I’m sure I’m not the only one who’s strubbling with css.

    Or maybe a few standard skins? That would help too.

    I tried a few plugins btw, including styles, but this only seems to work with The WordPress Twenty Fifteen theme (and older).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different colour scheme’ is closed to new replies.