Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Search Results for 'child theme'

Home / Forums / Search / Search Results for 'child theme'

Viewing 20 results - 261 through 280 (of 6,404 total)
  • Author
    Search Results
  • #273190

    Yes, all is up to date.

    I’m using a child theme though, that might be a ‘problem’

    #273188

    Hello, i know that it would break and affect some things on the website, some things would probably just be invisible cause there would be no set color, yes but that is what i want, none of the color interference of theme css files, just my child theme css, for example if i have a template which i deploy to various clients, i dont want to go to customizer each time and change styles, i write code and change it through code, i think it would be a developer friendly option, well thanks for the effort anyway!!

    #273127

    Hello,

    I’m trying to allow some Theme Customizer settings for the Editor user role.
    I would like them to change site logo and edit the colors palette and hide the rest of the settings in customizer.

    In Kadence Child theme functions.php I first gave Editor a permission that did reveal customizer for Editor:

    This works:
    function add_theme_caps() {
    $role_object = get_role( 'editor' );
    $role_object->add_cap( 'edit_theme_options' );
    //apply_filters( 'kadence_theme_customizer_capability', 'manage_options' );
    }
    add_action( 'admin_init', 'add_theme_caps');

    Then I have tried using customize_register -hook. I tried to set high number so it would run after the parent theme:

    Does not work. Nothing seems to happen:
    add_action('customize_register','my_customize_register', 9000);
    function my_customize_register( $wp_customize ) {
    //$wp_customize->get_setting( 'title_tagline' )->capability = 'edit_users';
    $wp_customize->remove_section( 'general-layout' );
    $wp_customize->remove_setting( 'general-layout' );
    $wp_customize->remove_control( 'general-layout' );
    $wp_customize->remove_panel( 'kadence_customizer_general' );
    }

    I even tried to use after_setup_theme -hook

    function remove_custom() {
    add_action(‘customize_register’,’my_customize_register’, 9000);
    function my_customize_register( $wp_customize ) {
    //$wp_customize->get_setting( ‘title_tagline’ )->capability = ‘edit_users’;
    $wp_customize->remove_section( ‘general-layout’ );
    $wp_customize->remove_setting( ‘general-layout’ );
    $wp_customize->remove_control( ‘general-layout’ );
    $wp_customize->remove_panel( ‘kadence_customizer_general’ );
    }
    }
    add_action(‘after_setup_theme’, ‘remove_custom’);

    Can you give me some pointer or example how to continue and hook into parent Kadence Theme Customizer?

    In forum: Kadence Theme

    In reply to: functions.php GONE!

    #273115

    Hi Michael,
    Sorry to hear to hear this. I suggest reaching out to your host as they should have a backup for you.
    In the future make sure you’re using a child theme if you’re editing the theme files. You can download one from here: https://www.kadencewp.com/child-themes/

    Kindly,
    Hannah

    In forum: Kadence Theme

    In reply to: Related posts problem

    #273102

    Hello again,
    I have found the problem. There is some custom CSS in the child theme for the related carousel. So this is not a Kadence theme bug. Sorry about that. You can close the ticket.
    Have a nice day!

    In forum: Ascend Theme
    #272944
    This reply has been marked as private.
    #272881

    Hello!

    Thank you for reaching out to us.

    The child theme is a separate theme. When you activate it, the theme customizer settings will not be retained. What you could do is install and activate the Kadence Starter Template plugin. Then, activate the main Kadence Theme and go to Customizer > Import/Export. Lastly, click export.

    Once the steps above are done, activate the Kadence Child Theme and go to Customizer > Import/Export again. Upload the exported file and click Import.

    After all the steps, the child theme should have the same theme customizations as before.

    Hope this helps and let us know if we can assist you further.

    Best Regards,
    Karla

    #272856

    Hello,

    First i would like to thank you for the quality of the theme !

    I would also like to know how to properly install a child theme on an existing site.
    When i activate it using the file here:

    It changes a lot of settings and the website doesn’t look like what it was. For instance the footer is completely changed.

    Is it possible to install it and keep my old settings ?

    #272195

    The .zip of the Kadence site’s child theme just doesn’t work! Compare screenshots layout (header, button, etc). It looks like the child theme should pull .css styles from the parent theme, but it doesn’t. Well, Kadence himself says he doesn’t need it, but it looks like he does!

    kadence-original kadence-child

    #272188

    I’m attempting to hook into the search modal (header search icon) and add an H2. I’ve tried adding the following to my child theme Functions.php:

    //* Add title inside search modal
    function custom_search_title() {
    echo '<h2>My title</h2>';
    }
    add_action( 'Kadence\search_modal', 'custom_search_title', 15 );

    But this hasn’t worked. Any advice? Am I hooking the incorrect action?

    Thanks so much!

    #272141

    Hey,
    I believe that would need to go in your style.css in a child theme. Are you currently using a child theme?
    https://www.kadencewp.com/child-themes/

    Kindly,
    Hannah

    #272054

    Thank you for that, Hannah. I also use a child theme and the header.php might be the problem. We use it for all the CRM integration code so I may need to make adjustments. Any advice?

    #271960

    Thank you very much for your help. I was using header.php for adding GA codes. I moved it to footer and deleted header.php from child theme. And now everything seems working flawless.

    By the way, what is the method for doing something in the header?

    #271954

    I have been spending hours trying to figure out an issue and I am not sure if this is a WP issue or a Kadence issue so bear with me.

    I have a SaaS App I am building for a client in the WP framework with the Kadence (Child) Theme. I am using shortcodes to write the code using jQuery/PHP.

    In some parts of my Application I will code in links to different pages using window.location.href or window.location.replace. When I use the Application from the Customer Facing side the application works great with no issues. I can click those links and they do what they are supposed to do.

    The problem

    I have a front-end dev doing the CSS from the “Additional CSS” in “Customizing”. If you click on one of those links in the Application first that are coded in using href or replace as soon as you click in the box and you hit any key on the keyboard to edit the CSS it causes the App to go back 1 step in history…yeah I know, weird.

    BUT… If I change those links to use an anchor tag instead <a> this behavior does not happen. The page does not redirect back in history as intended.

    Any ideas?

    #271940

    Hello,

    ​Thanks for reaching out.

    ​It looks like you are using a child theme and it is overriding the default header.php

    T​here was a small change on the Kadence header.php file on version 1.1.16.

    You need to update your header.php file to add in the missing class “wp-site-blocks” on the div with id wrapper: https://share.getcloudapp.com/bLuK0Pg8

    However, we would strongly encourage you to never override the header.php file in a child theme.

    There is usually a much better way to do something if you need to do something in the header of your site.

    If you need help doing something in the header of your site just ask and we can help you without you needing to override the header.php file.

    Let us know if we can assists you further.

    Regards,
    Bonn

    #271902

    Hi Hannah, thanx, you’re right, I do use a child theme, and the header.php is in there but I don’t know why. I’ll delete it.

    #271897

    Hey guys,
    Here is a response from the developer regarding a similar query:

    Hey,
    Looks like you are using a child theme. And you’ve overridden the header.php file.
    
    You need to update your header.php file to add in the missing class “wp-site-blocks”
    
    However, I would strongly encourage you to never override the header.php file in a child theme. There is usually a much better way to do something if you need to do something in the header of your site. If you need help doing something in the header of your site just ask and we can help you without you needing to override the header.php file.
    
    Ben

    Let us know if this does not apply to you.

    Kindly,
    Hannah

    In forum: Kadence Theme

    In reply to: Archive pagination

    #271876

    Unfortunately there isn’t a built-in way to do this using the theme archive. Sorry! You could create a css hack when adding posts via the post grid/carousel block, but it’s not really advised. Adding a custom function into a child theme I believe would be the best way to create this.

    Kindly,
    Hannah

    #271870
    This reply has been marked as private.
    #271866

    Hi saleaglobal,
    Apologies for the delay. It sounds like the changes you’re wanting would require some custom code in a child theme. Are you currently using a child theme? Or you could use something like Elementors WooCommerce editor.

    Kindly,
    Hannah

Viewing 20 results - 261 through 280 (of 6,404 total)