Support » Theme: Ares » Fine if you don't need to make any modifications

  • Sam

    (@00samm)


    Theme looks great, but if you want to do anything that would involve a child theme, look elsewhere. The child CSS doesn’t override the parent CSS without a lot of extra work.

    But if you like everything exactly the way it is or with the customization options they give you, then it’s fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author smartcat

    (@smartcat)

    Hi there

    I am not sure if this review is totally accurate, it is very easy with Ares to create a child theme and override the CSS with very little trouble.

    Are you following the standard WordPress way of creating a child theme ? This requires you to enqueue the parent theme CSS so that it is loaded BEFORE your child theme, which means your child CSS will always run after and be given priority.

    in some cases, the browser still gives priority to the first CSS rule, in which case you can just add !important to your CSS rule that’s not overriding.

    If you follow this method of creating the child, shouldn’t have issues with overriding:

    https://codex.wordpress.org/Child_Themes

    I have built my own child and tested this code below:

    functions.php

    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }

    Good luck and I hope you give this theme a better rating, it takes tons of time to create these things 🙂

    thank you

    Theme Author smartcat

    (@smartcat)

    if your CSS isn’t overriding, here’s a sample of how to easily fix it. Using site-title class as a demo:

    .site-title{
    font-size: 30px !important;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fine if you don't need to make any modifications’ is closed to new replies.