badjohnny
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Using a child theme with LitheStoreHi
You may refer to this answer http://wordpress.stackexchange.com/questions/227766/loading-a-child-themes-style-css-after-the-parents
Thanks
Forum: Themes and Templates
In reply to: Lithestore homepage not formatting correctlyGlad to hear this:)
Forum: Themes and Templates
In reply to: New Section at bottom of Home pageHi
Edit page-homepage.php file, you can insert your own codes underneath the following code
/* OnSale Products * Hook lithestore_on_sale_products * Hooked lithestore_on_sale_products() */ do_action( 'lithestore_on_sale_products'); //Put your Code hereYou’d better use Child theme to customize the theme files.
Thanks
Forum: Themes and Templates
In reply to: Change text color comes out and edit EditHi @yfcpe
1. You can install loco translation plugin, then create your own language and search “Handpicked Stuff” text, just add your text in ‘translation’ field. https://www.dropbox.com/s/fzcr7q54ykpc7ke/Screenshot%202017-03-29%2023.56.39.png?dl=0
2. You can change the ‘Sale’ label color by the following CSS
.woocommerce span.onsale{background:YOUR COLOR;}
Thanks
Forum: Themes and Templates
In reply to: Using a child theme with LitheStoreHi
Try to change
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
to
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’,30 );
Thanks
Forum: Themes and Templates
In reply to: Lithestore homepage not formatting correctlyHi
Have you set the “home” page template to “Homepage”? Those sections and categories require WooCommerce activated.
Thanks
Forum: Themes and Templates
In reply to: demo data@Icb1982
I tested again, it was working fine. I’m not sure which version of your theme, but anyway, you can also manually import the demo data via tools > import, all demo data files are included in the theme folder/framework/demo/default.
Thanks
Forum: Themes and Templates
In reply to: Different header Text for Multi-sitesYou can install Loco translation plugin, just search those English words in this plugin, and translate to your language version.
Thanks
Forum: Themes and Templates
In reply to: HeaderHi
Thanks for using this theme and sorry for the delay!
1. I’m sorry that the first question is a custom issue that is not include in the support, here’s a tip: You can find the header CSS selector by chrome developer tool, then write your own custom CSS, use CSS media query to resize the font size for the mobile version.
2. The picture was set as cover background by CSS background-size:cover; It can’t resize image very accurately, only if you can reset the background-size:WIDTH HEIGHT; for mobile version separately.
Thanks
Forum: Themes and Templates
In reply to: How do i add the three images with links to home page.Hi
Sorry for the delay.
Could you let me more details? Which 3 rows you pointed? Did you mean the 3 columns layout for the shop page? http://demo.lithestore.com/shop/
Thanks
Forum: Themes and Templates
In reply to: Different header Text for Multi-sitesHi
Sorry for this issue.
I’m not sure how you modified template-tags.php file in your child theme, but anyway, you can try the following solution.
First of all, don’t modify the related functions which is located in template-tags.php, just use hook, let’s check the header hook below
/** * Header * @see lithestore_before_navigation() * @see lithestore_custom_logo() * @see lithestore_primary_navigation() * @see lithestore_top_buttons() * @see lithestore_after_navigation() * @see lithestore_cover() */ add_action( 'lithestore_header', 'lithestore_before_navigation',0); add_action( 'lithestore_header', 'lithestore_custom_logo',10); add_action( 'lithestore_header', 'lithestore_primary_navigation',20); add_action( 'lithestore_header', 'lithestore_top_buttons',30); add_action( 'lithestore_header', 'lithestore_after_navigation',40); add_action( 'lithestore_header', 'lithestore_cover',50);You can see the lithestore_header hook includes those functions which you can find them in template-tags.php, right?
For example, let’s say you want to modify lithestore_primary_navigation function, just copy this function to the functions.php of your child theme, and change the function name to custom_primary_navigation() as below
/** * Primary Navigation */ function custom_primary_navigation(){ echo'<nav id="site-navigation" class="main-navigation ls-grid ls-col7" role="navigation"> <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><i class="fa fa-bars"></i></button>'.wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu','echo' => false ) ).'</nav><!-- #site-navigation -->'; }Then, just modify the content, and put the following codes above this function
remove_action( 'lithestore_header', 'lithestore_primary_navigation',20); add_action( 'lithestore_header', 'custom_primary_navigation',20);Then, your custom function will replace to the original function.
The complete code is
/** * Primary Navigation */ remove_action( 'lithestore_header', 'lithestore_primary_navigation',20); add_action( 'lithestore_header', 'custom_primary_navigation',20); function custom_primary_navigation(){ echo'<nav id="site-navigation" class="main-navigation ls-grid ls-col7" role="navigation"> <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><i class="fa fa-bars"></i></button>'.wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu','echo' => false ) ).'</nav><!-- #site-navigation -->'; }Thanks!
Forum: Themes and Templates
In reply to: Different Logo on all other pages other then home page?Glad to hear this.
Anyway, did you mean you want the LOGO wrapped in H1 on the front page?
If my understanding is correct, I will improve this issue in the next version!
Thanks!
Forum: Themes and Templates
In reply to: [BadJohnny] Logo Img SizeHi
Could you tell me your link that I can check that where you inserted LOGO? Generally speaking, if you manually insert LOGO into the template, you should resize it by CSS media queries for the mobile device.
Thanks
First of all, sorry for the delay!
Anyway, glad to hear this.Forum: Themes and Templates
In reply to: demo dataGlad to hear that.
I remember that error is an old bug in the previous version, and I’ve released the new version that you can update.
Thanks