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 - 161 through 180 (of 6,404 total)
  • Author
    Search Results
  • In forum: Kadence Theme
    #284666

    Thanks Karla, appreciate it! Can I add that code in the custom CSS box? I really don’t want to keep adding plugins, my site has plenty as it is so I’d like to put that coding into the theme directly or the child theme (I’ll need instructions how). Or if you know how long it’ll take to fix up the coding for that centred logo menu option, I can just wait, I’ve added a home button to my menu in the meantime so hopefully people use that instead of the logo to navigate the site.

    #284662
    This reply has been marked as private.
    In forum: Kadence Theme
    #284547

    Hi Karla! I tried the health check plugin, but even with all the plugins turned off, as soon as I chose either the Pinnacle Premium or Child theme, the // showed up again as the logo link. It was hard to test with the other themes as they didn’t have the logo image appear, but one did have a site url in the upper left corner and that linked to the normal home page without the //. So I’m assuming it must be a theme issue if it’s doing it even with all the plugins turned off. Is there any kind of CSS I can add to the custom CSS box to prevent the logo from linking weirdly? Not ideal obviously, but if we can’t figure out where the problem is originating from, at least that will prevent people from being “stuck” when they click the logo to go back to the home page. Thanks! 🙂

    In forum: Kadence Blocks

    In reply to: Gallery width issue

    #284545

    Hi Gabi,

    Thanks for the screenshots.

    There are custom styles applied to the “services-slider” class name, which you’ve added in the Section. I think you have added the CSS codes in your child theme.

    I renamed it to “services-slider-old” and it looked good. Furthermore, I’ve set 900px max width for the Row Layout – here’s a video for reference: https://share.getcloudapp.com/geuPpWdK

    Adjust the width to your liking.

    I hope this helps, and let us know how I can help further.

    Best,
    Chito

    In forum: Kadence Theme
    #284535

    Hi, Dana!

    Thanks for the login link to your website.

    Just a note, the logo of the theme will use the home_url( '/' ) function of WordPress so it should use a home page URL in this format – https://www.example.com/.

    I saw that you’re using the latest Pinnacle Premium theme and there are no codes inside the child theme that could change the logo URL. Also, your addresses in Settings > General don’t have an extra “/” at the end.

    I checked your plugins but I do not see any that can cause an additional “/” character for our logo link though. On the other hand, could you try the steps from our troubleshooting process here to see if one of your plugins is adding that?

    Let us know how it goes.

    Kind regards,
    Karla

    In forum: Kadence Theme
    #284497

    Hi Karla! I tried changing the theme away from the child theme, and it didn’t do anything, it still has the // at the end of the logo link (I’ve changed it back to the child theme). So I’m not sure where the error is coming from, I checked the general site settings, tried to see if the Customizer could pull up a link option for the logo, etc. Thanks!

    In forum: Kadence Theme
    #284491

    Hi, Dana!

    I saw that you’re using a Pinnacle child theme. If you temporarily switch to the main/parent Pinnacle theme and add the logo to your Theme Settings, will the same logo URL still have the “//” characters at the end?

    If it didn’t, double-check your child theme’s functions.php file. There might be a code that affects the logo URL there.

    I hope this helps, and let us know if we can help you further.

    Kind regards,
    Karla

    #284428

    Hey team,

    I’m creating a plugin but to be honest, I dont know what I’m doing, I’m just doing what chatgpt tells me.

    I’ve never used css, so that probably a bad start.

    I have a plugin folder, with a main php file, then an includes, css, and js folder

    this is the css that i’m trying to get to work (I’ve tried it with and without the from#):
    form#add_property_form {
    max-width: 288px !important;
    margin: 0 auto;
    }
    form#add_property_form label,
    form#add_property_form input {
    display: block;
    margin-bottom: 10px;
    }
    form#add_property_form input[type=”text”],
    form#add_property_form input[type=”date”],
    form#add_property_form input[type=”number”] {
    width: 50%;
    box-sizing: border-box;
    }

    I’ve also added debug lines that show

    [02-Jul-2023 22:20:25 UTC] Style is registered
    [02-Jul-2023 22:20:25 UTC] Style is enqueued

    however, my input fields still span across 100% of the whole page,

    all i’m trying to do is get it to show:

    label: input field (of around 250px)
    label: input field
    label: input field
    and so on

    this is how i’m trying to call the css:
    function load_portfolio_tracker_styles() {
    $style_url = plugin_dir_url( __FILE__ ) . ‘css/portfolio_tracker_style_new.css’; // Update filename here
    error_log(‘Style URL: ‘ . $style_url);

    wp_register_style( ‘portfolio_tracker_style’, $style_url, array(), ‘1.0’ );

    if (wp_style_is(‘portfolio_tracker_style’, ‘registered’)) {
    error_log(‘Style is registered’);
    } else {
    error_log(‘Style is not registered’);
    }

    wp_enqueue_style( ‘portfolio_tracker_style’ );

    if (wp_style_is(‘portfolio_tracker_style’, ‘enqueued’)) {
    error_log(‘Style is enqueued’);
    } else {
    error_log(‘Style is not enqueued’);
    }
    }
    add_action( ‘wp_enqueue_scripts’, ‘load_portfolio_tracker_styles’ );

    my latest test, was to add a child theme, but that doesn’t seem to have worked either.

    anyone able to lend a hand?

    #284419

    Hello.

    I was looking for some performance issues and I found one thing with the help of this plugin

    My Head Hook wp_head have long execute time. Clean WP instalation with Kadence theme had about 150ms, but my production environment site had about 600ms.

    Then i searched the reason. I found that Kadence add very long inline css stiles in production environment site in compare with clean instalation.

    This would be ok if I use all those settings, but i dont. For example. I have set maybe 3 social links, but in inline styles are every one that customization offer. In clean instalation there are no this settings in inline style in head.

    I found settings, that was made for test, but now is not in use too.

    Than i found theme_mods_kadence-child in database has option_value with almost 50000 characters. I see that it is the serialized multidimensional array. In comare with clean instalation it is big difference. There are stored many settings that i dont use now. Many array keys are without value.

    Then I switched from Kadence child theme with customization settings to Kadence theme without custamization settings. My loading times was shorter. LAPS plugin show that wp_head is execute faster.

    OK I know. Customizations. But I suspect there left many settings in theme_mods_ that are not in use now. Execute this useless setiings makes bigger load to the CPU and longer execute time.

    Please. Is there a way how to clean theme_mods_ from settings, that are not in use. I think this is theme bug that should by fix.

    Regards

    Michal

    In forum: Kadence Theme

    In reply to: Shortcode editor

    #284307

    Hi Mikolaj,

    I believe you are referring to the WooCommerce pages for the Cart and my Account pages. Yes. These pages are generated using the WooCommerce shortcodes to give these pages the corresponding pages and functionalities from WooCommerce.

    Here’s a reference to that feature: https://woocommerce.com/document/woocommerce-pages

    Can you give us more information on what changes are you planning to do?

    First, I would like to mention that there are some customization settings in the Kadence Theme that will let you adjust some settings for WooCommerce pages. Appearance > Customize > WooCommerce

    You can also look into the Kadence Element Hooks feature, that lets you insert contents into specific areas of a page. This includes some hooks for WooCommerce pages.

    ​Here’s a screen recording for reference: https://share.getcloudapp.com/o0uJ86Xj

    There are other different ways that you can customize this pages depending on the extent of the customization that you are planning.

    Here are some methods you can use to customize the pages without modifying the templates:

    Custom CSS: You can add custom CSS rules to your theme’s stylesheet or use a custom CSS plugin to modify the appearance of the pages. This method allows you to adjust colors, fonts, spacing, and other visual aspects.

    Action Hooks: WooCommerce provides various action hooks that allow you to add custom content at specific locations on the pages.

    Filter Hooks: Filter hooks enable you to modify the data and functionality of WooCommerce elements.

    Here’s an example visual hook guide for the cart page: https://www.businessbloomer.com/woocommerce-visual-hook-guide-cart-page

    If you are planning to do some major changes to these pages:

    You can customize the cart and account pages generated by the shortcodes from WooCommerce. You can modify the appearance and content of these pages by overriding the default templates provided by WooCommerce.

    Here’s how you can customize the cart and account pages:

    Cart Page:

    Locate the shortcode used to generate the cart page. By default, the shortcode is [woocommerce_cart].

    If you want to make more significant changes to the cart page, you can override the default template file. Copy the cart.php file from wp-content/plugins/woocommerce/templates/cart to wp-content/themes/your-theme/woocommerce/cart.php and make your modifications there.

    Account Pages:

    To make structural changes or modify the content of the account pages, you can override the default template files. Copy the relevant template files from wp-content/plugins/woocommerce/templates/myaccount to wp-content/themes/your-theme/woocommerce/myaccount and customize them as needed.

    Remember to create a child theme if you’re modifying template files to ensure your changes are not overwritten during theme updates.

    Additionally, there are numerous WooCommerce extensions and plugins available that offer more advanced customization options for cart and account pages. These plugins can provide features like additional shortcodes, drag-and-drop builders, and more extensive design options.

    It’s always a good idea to back up your website before making any modifications and test your changes thoroughly to ensure they work as intended.

    I hope this helps. If you have further questions, please let us know, and we’ll be happy to help out.

    Best regards,
    Teejay.

    #284305

    Nevermind. I figured out that the child theme I purchased is using custom CSS to remove them.

    #284224

    Hi Janice,

    By default, WordPress’s “Previous” and “Next” pagination refers to posts in the order they are in, not in any particular category.

    Check the article: https://codex.wordpress.org/Next_and_Previous_Links

    You can change their order by adding code in your child theme functions.php.

    Add the following code to your child theme functions.php

    
    add_filter('kadence_post_navigation_args', function($args){
    
    $args['in_same_term'] = true;
    
    return $args;
    
    });

    This code will impact the overall website post’s next and previous links.

    Check the screencast: https://share.getcloudapp.com/Kou9B6XG

    Please let us know how it goes, we’ll be more than happy to continue helping until you get your desired result.

    Best Regards,
    Archita

    #283884

    Hi Chito,

    many thanks for your help

    I can’t get it to work.

    Unfortunately, I don’t know if the fonts aren’t found or if there’s something wrong with the script

    I am in wp-content\themes in my Child-Theme
    I have these 2(4) Fonts direct in my Child-Theme.
    fordantenna-bold.woff
    fordantenna-bold.woff2
    fordantenna-regular.woff
    fordantenna-regular.woff2

    This Snippet is in the functions.php. (How do I actually rewrite the snippet for multiple fonts?)

    add_action( ‘admin_enqueue_scripts’, ‘custom_styles_for_admin’ );
    function custom_styles_for_admin(){
    echo “<style>
    @font-face {
    font-family: ‘fordantenna-regular’;
    src: url(‘”. get_stylesheet_directory_uri() .”fordantenna-regular.woff2’) format(‘woff2’),
    url(‘”. get_stylesheet_directory_uri() .”fordantenna-regular.woff’) format(‘woff’);
    font-weight: normal;
    font-style: normal;
    }</style>”;
    }

    I close WordPress, clear the Cache and restart the Apache and MySQL.
    I have also tried with a fonts folder (with customized path for each), in the child theme, in the wp-content folder and in the wp-content\uploads\font folder.
    Nothing happens, no entry appears in the font selection in the edit page.

    I hope you have another good tip for me.

    Many greetings
    Hans

    #283832

    Hi, Catherine!

    Thanks for giving the page URL.

    To achieve the layout you want on that page, you can add this to Customizer > Additional CSS:

    #archive-container .custom-archive-loop-item:nth-child(odd) .kt-row-column-wrap .wp-block-kadence-column:first-child {
        order: 2
    }

    This is how it will look – https://share.getcloudapp.com/yAuJdkBE.

    After saving the changes, make sure to clear your website cache so they will be applied to your pages right away.

    I hope this helps, and let us know if we can assist you further.

    Regards,
    Karla

    #283744

    Hi,
    My problem is more or less similar to that of Mike, but I think it can be solved. I’m using the Kadence theme with a child theme in which I added some custom checl-out fields, like the name and age of the participant in a course. I want those fields to appear in the e-mails that I’m customizing with Kadence Woocommerce E-mail Designer. But the custom placeholders don’t show in the “Available placeholders” box when I go to “E-mailtype and text”.
    I downloaded the kadence-woocommerce-email-designer.php and (I think I) found the part where the placeholders are inserted in the e-mail:
    // Check for placeholders.
    $body_text = str_replace( ‘{order_date}’, wc_format_datetime( $order->get_date_created() ), $body_text );
    $body_text = str_replace( ‘{order_number}’, $order->get_order_number(), $body_text );
    ….and so on…
    Am I correct in assuming that the plugin uses the woocommerce e-mail template and replaces some things in it? I’n not familiar with PHP, but can I insert some code to insert the custom check-out fields in the e-mails?
    something like:
    $body_text = ‘{participant_1_name}’ $body_text );

    #283630

    Hi,

    Currently, there is no code for it.

    But you can do this by overriding the entry-loop-header.php template by using a child theme.

    Just copy the file in kadence-blocks/includes/templates/entry-loop-header.php and paste it to your-child-theme/kadence-blocks/entry-loop-header.php

    Edit the file and it should look like this: https://pastebin.com/XgA4i3TF

    Let us know if this works for you.

    In forum: Membership Forums

    In reply to: Sticky Menu Font Size

    #283499

    Hi there!

    I’m sorry for the delay in getting back to you.

    You’re using the Kadence theme, right?

    If so, there is no option to change the sticky header font sizes. There are only color options – https://share.getcloudapp.com/xQuRo89e.

    To achieve what you want, you can use custom CSS code. Add this in Customizer > Additional CSS:

    .child-is-fixed .menu li {
        font-size: 0.9em;
    }

    Note: You can change the value for the font-size.

    This is how it will work – https://share.getcloudapp.com/2Nub8ZAj.

    I hope this helps, and let us know if we can assist you further.

    Kind regards,
    Karla

    In forum: Kadence Theme

    In reply to: CSS code separation

    #283482
    This reply has been marked as private.
    #283372

    Hello i have created a editor-style.css for styling post editor in Kadence Child Theme, but its not working, i try every single solution from internet but still nothing, can any please help me. Thanks

    In forum: Kadence Theme

    In reply to: Missing menu

    #283212
    This reply has been marked as private.
Viewing 20 results - 161 through 180 (of 6,404 total)