Sorry bạn vì lỗi mới nhé.
Bạn vô claue > style.css sửa giùm mình code ở line 297
img, iframe {
height: auto;
max-width: 100%;
vertical-align: middle;
}
thành
img {
height: auto;
max-width: 100%;
vertical-align: middle;
}
xóa cái “iframe” đi.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
In home page.
http://prntscr.com/lr9nag
To change the text i have used this css
.shopdesigner .fontuse h3, .pa .tc {
font-family: “Oswald” !important;
font-weight: 700;
font-size: 20px;
color: black;
background-color: white;
padding-top: 0px;
padding-bottom: 0px;
}
But it changed this as well
http://prntscr.com/lr9omc
When I am moving my custom CSS code from theme custom CSS section to claue-child>style.css, everything looks weird. It seems that CSS is not working which I have included in style.css. What I have done wrong?
If you fix it, please share the edited style.css with me.
Rahim Vaziri
CEO & Founder at Look.ir
Hi Harry,
Hope you are fine.
Please check your demo’s mobile view.
I see all elements on your home page have 0px margin from meta slider till the footer.
If you have made these on your final style.css please review the code.
Regards.
Rahim Vaziri
CEO & Founder at Look.ir
Hi,
1 Please change prev code to
function remove_shop_heading() {
remove_action( 'woocommerce_before_main_content', 'jas_claue_wc_page_head', 15 );
}
add_action('wp_head', 'remove_shop_heading');
function jas_claue_child_wc_page_head() {
if ( ! cs_get_option( 'wc-enable-page-title' ) || ( class_exists( 'WCV_Vendors' ) && WCV_Vendors::is_vendor_page() ) ) return;
$title = cs_get_option( 'wc-page-title' );
$output = '<div class="page-head pr tc"><div class="jas-container pr">';
if ( is_search() ) {
$output .= '<h1 class="mb__5 cw">' . sprintf(__( 'Search Results for: %s', 'claue' ), '<span>' . get_search_query() . '</span>' ) . '</h1>';
} elseif ( is_shop() ) {
$output .= '<h1 class="mb__5 cw">' . esc_html( cs_get_option( 'wc-page-title' ) ) . '</h1>';
//$output .= '<p class="mg__0">' . do_shortcode( cs_get_option( 'wc-page-desc' ) ) . '</p>';
} else {
// Remove old position of category description
//do_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
$output .= '<h1 class="cw">' . single_cat_title( '', false ) . '</h1>';
//add_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 10 );
}
ob_start();
$output .= ob_get_clean();
$output .= '</div></div>';
echo wp_kses_post( $output );
}
add_action( 'woocommerce_before_main_content', 'jas_claue_child_wc_page_head', 15 );
2. And change CSS code to
.term-description {
display: block;
width: 100%;
max-width: 1170px;
margin: 30px auto 0;
}
3. Download attach file, extract to claue-child > woocommerce (you need create new folder woocommerce in claue-child)
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,
Please add more code in Claue > Theme Option > General Layout > Custom CSS
html[lang="es-ES"] .jas-menu li.hot > a:after {
content: 'Hot';
}
html[lang="es-ES"] .jas-menu li.sale > a:after {
content: 'Sale';
}
html[lang="es-ES"] .jas-menu li.new > a:after {
content: 'New';
}
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.
please change code to
function remove_shop_heading() {
remove_action( 'woocommerce_before_main_content', 'jas_claue_wc_page_head', 15 );
}
add_action('wp_head', 'remove_shop_heading');
function jas_claue_child_wc_page_head() {
if ( ! cs_get_option( 'wc-enable-page-title' ) || ( class_exists( 'WCV_Vendors' ) && WCV_Vendors::is_vendor_page() ) ) return;
$title = cs_get_option( 'wc-page-title' );
$output = '<div class="page-head pr tc"><div class="jas-container pr">';
if ( is_search() ) {
$output .= '<h1 class="mb__5 cw">' . sprintf(__( 'Search Results for: %s', 'claue' ), '<span>' . get_search_query() . '</span>' ) . '</h1>';
} elseif ( is_shop() ) {
$output .= '<h1 class="mb__5 cw">' . esc_html( cs_get_option( 'wc-page-title' ) ) . '</h1>';
//$output .= '<p class="mg__0">' . do_shortcode( cs_get_option( 'wc-page-desc' ) ) . '</p>';
} else {
// Remove old position of category description
//remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
$output .= '<h1 class="cw">' . single_cat_title( '', false ) . '</h1>';
//add_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 10 );
}
ob_start();
$output .= ob_get_clean();
$output .= '</div></div>';
echo wp_kses_post( $output );
}
add_action( 'woocommerce_before_main_content', 'jas_claue_child_wc_page_head', 15 );
and add more code to Claue > Theme Option > General Layout > Custom CSS
.term-description {
display: block;
width: 100%;
max-width: 1170px;
margin: 30px auto;
}
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
Hi,
Please add below code to Claue > Theme Option > General Layout > Custom CSS
.jas-push-menu-btn img {width: 100%;}
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio