Hi,
I can´t get my child theme css to load. It´s probably related to enqueing, but I can´t work out what is wrong.
Heres the code from functions.php in claue-child
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
$parenthandle = 'Claue-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.
$theme = wp_get_theme();
wp_enqueue_style( $parenthandle, get_template_directory_uri() . '/style.css',
array(), // if the parent theme code has a dependency, copy it to here
$theme->parent()->get('Version')
);
wp_enqueue_style( 'child-style', get_stylesheet_uri() . '/style.css',
array( $parenthandle ),
$theme->get('Version') // this only works if you have Version in the style header
);
}
What should the code be?
Best regards,
Jon Kristen
Hi Nina,
1,2. Please add below code to Claue > Theme Option > General Layout > Custom CSS
@media only screen and (max-width: 480px) {
form .quantity {
width: 100%;
margin: 0 0 10px;
}
form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button {
width: calc(100% - 55px);
}
.shop_table .product-remove {
font-size: 20px;
}
.cart-collaterals {
display: flex;
flex-direction: column-reverse;
}}
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
Hi Shariq,
1. Please add below code to Claue > Theme Option > General Layout > Custom CSS
h2.cw, h3.cw {color: #fff;}
2. I still not clear what you said
3. Please add “products” element to sale page
4. Please go to Theme Option > Social Network > and remove social links.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
Hi Nicole,
1. Please add below code to page custom CSS https://prnt.sc/t5k0xo
.jas-page > div {margin-top: 0;}
2. Edit the column, textblock and add padding-top margin-top = 0 https://prnt.sc/t5k1zf
https://prnt.sc/t5k2zk
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
Hi,
2. Please change code to
.product-image .db:before, .product-button {
display: none;
}
3. To hide review please go to WooCommerce > Settings > Products > Enable Review and uncheck https://prnt.sc/t5386o
4. The issue because this category doesn’t have any variable product that mean the products on this category don’t have any attribute
5. Yes, it override parent theme not replace on gecko because when have update the file will revert to original, just use child theme
6. Please add below code to JanStudio > Theme Option > General Layout > Custom CSS
.sf-open i {font-size: 24px; margin-left: 5px}
7. When you disable review the review tab will disappear. Please use Custom Product Tab to create your tab.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
Hi,
1. Please add below code to change text and button color to Claue > Theme Option > General Layout > Custom CSS
a.button:not(.add_to_cart_button), .jas-ajax-load a, button.button {
background: #222;
border-color: #222;
color: #fff;
}
and change #222 or #fff with your color
2. Please add code to Claue > Theme Option > General Layout > Custom CSS
.product-category h2, .jas-banner h3 {
background: #fff;
color: #222;
}
3. Please use “Products” element and select display product as https://prnt.sc/t533uv
4. Please go to MC4WP > mailchimp and change your API key and select list http://janstudio.net/claue/document/#mail-chimp
You should learn on youtube how to use WP Bakery Pagebuilder and other plugins
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
This reply has been marked as private.
Hi,
1. Please go to Appearance > Customize > WooCommerce > Product Catalog and follow this screenshot https://prnt.sc/t4zc8a
2. Please add below code to JanStudio > Theme Option > General Layout > Custom CSS
.btn-quickview.cp.pr.bs-36 {
display: none;
}
3. Please go to Appearance > Customize > WooCommerce > Product Image and follow this screenshot https://prnt.sc/t4zezm
4. Please go to JanStudio > Theme Option > WooCommerce > Product Detail Settings > Enable Zoom Image > On
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
Hi,
1.
I have disabled the (Sign Up Newsletter) popup but it shows repeatedly why?
Can you send me admin account and check in “Set as private reply” I will check and help you solve problem.
2. Please install this plugin https://wordpress.org/plugins/ajax-search-for-woocommerce/
and download attach file extract and put in gecko-child > views > header
3. Please add below code to JanStudio > Theme Option > General Layout > Custom CSS to remove line
#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
border-top: none !important;
}
Kind regards
Attachments:
You must be
logged in to view attached files.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
Hi Shariq,
Please edit column wrap slider and add padding 0 to override css of plugin https://prnt.sc/t3kit0
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio