Home Forums Themes Support Aqua WordPress Theme Child Theme Not Overriding Parent


This topic contains 9 replies, has 2 voices, and was last updated by Avatar Daniel_Cielo 2 years, 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #5083

    I have installed Aqua-Child and attempted to modify one element and it is not working.

    When I try to modify:

    .tb-header-wrap.tb-header-v8 .header-sidebar .sidebar-top-left { margin-top:20px; }


    .tb-header-wrap.tb-header-v8 .header-sidebar .sidebar-top-left { margin-top:10px; }

    It doesn’t change. When I inspect the element in Chrome, I can see it being overwritten from 20, to 10, and then back to 20.

    This line:

    .tb-header-wrap.tb-header-v8 .header-sidebar .sidebar-top-left { margin-top:10px; }

    Is the only line in the Child Syle.css

    The Child functions.php looks like this:

    	/* Define THEME */
    	if (!defined('URI_PATH')) define('URI_PATH', get_template_directory_uri());
    	if (!defined('ABS_PATH')) define('ABS_PATH', get_template_directory());
    	if (!defined('URI_PATH_FR')) define('URI_PATH_FR', URI_PATH.'/framework');
    	if (!defined('ABS_PATH_FR')) define('ABS_PATH_FR', ABS_PATH.'/framework');
    	if (!defined('URI_PATH_ADMIN')) define('URI_PATH_ADMIN', URI_PATH_FR.'/admin');
    	if (!defined('ABS_PATH_ADMIN')) define('ABS_PATH_ADMIN', ABS_PATH_FR.'/admin');
    	function aqua_theme_enqueue_styles() {
    		$parent_style = 'aqua-style';
    		wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    		wp_enqueue_style( 'aqua-child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style )
    	add_action( 'wp_enqueue_scripts', 'aqua_theme_enqueue_styles' );

    I should also add, that if I add that line into the Custom CSS through the WordPress Dashboard it works, but it does do all the multiple overrides first.

    I wish to make a lot of changes, so I want to be able to use the child theme.



    Thank you for reaching us.

    Sorry but this is what I have when I go to your Admin:


    Best Regards,

    This reply has been marked as private.

    Hey buddy!


    Please let me be as an administrator, so that I can see all things in the Admin site.

    Best Regards,


    This has been changed now.


    Have you had a chance to look at a resolution for this issue yet?


    What is the update on this issue. It is still outstanding and I can’t launch my website without sorting this issue out.


    Sorry for late reply.

    The reason why is due to the priority: http://prntscr.com/expzom

    Just add ‘body’ before class like this: http://prntscr.com/exq0hm

    then the issue will be solved.

    Best Regards,


    You do not understand. I do not want these lines of code in my Custom CSS component.

    Why can I not add them into the Child Theme “style.css” and have it work correctly?

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.