Jeremy Dennis
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] Change Additional Information Tab and TitleHello!
It looks like you have a couple options for customizing your tabs. You can either purchase the WooCommerce Tab Manager or change it manually in your theme’s code. That would look something like:
- Add a Storefront child theme (here’s one I found)
- Put the below code in your child theme’s function.php file
add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' ); function woo_new_product_tab( $tabs ) { // Adds the new tab $tabs['test_tab'] = array( 'title' => __( 'New Product Tab', 'woocommerce' ), 'priority' => 50, 'callback' => 'woo_new_product_tab_content' ); return $tabs; } function woo_new_product_tab_content() { // The new tab content echo '<h2>New Product Tab</h2>'; echo '<p>Here\'s your new product tab.</p>'; }
- Customize this code to your liking
Hope that helps! Let me know if I can clarify anything. ??
Forum: Themes and Templates
In reply to: Single page- Thumbnail of recently post does not workI know how that goes! Glad you got it working. ??
Forum: Themes and Templates
In reply to: [Simple Melody] Logo in the headlineHello!
I installed the free version and was not able to add a logo image. According to the developer’s website, upgrading to “Melody” ($69) will give you the ability to add a site logo.
Forum: Themes and Templates
In reply to: Single page- Thumbnail of recently post does not workHello!
It looks like you have
.single .wp-post-image {display: none}
in the head section of your page (line 67). When I remove that style in developer tools, your images come back.Do you know if you’ve added any custom styles to your site or if perhaps a plugin is adding those styles in the head?
Forum: Themes and Templates
In reply to: Make Theme navigation header scroll with page instead of static…Hello!
There’s a bit of javascript that’s making your menu “stick” to the top when you scroll. If you remove lines 1–22 in themes/a1/js/default.js it should remove that functionality.
<i>However</i>, the next time your theme has an update that javascript will return to the way it was. So to future proof this change you will need to create a child theme, put the updated javascript file in the child theme and load it instead.
- Assuming your theme folder is called “a1”, Create a directory for your child theme in your themes folder called ‘a1-child’
- Copy default.js from the parent theme and put it in a new ‘js’ directory in the child theme. Remove lines 1–22.
- Create a functions.php file in the child theme with the below code. This will keep the original javascript file from loading and instead load the one you’ve modified.
<?php function child_scripts() { wp_deregister_script('a1-default' ); wp_enqueue_script('a1-default', get_stylesheet_directory_uri() . '/js/default.js', array('jquery')); wp_enqueue_style( 'theme_enqueue_styles', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'child_scripts', 100 ); ?>
- Create a style.css file in your child theme with the below code (child themes require a style.css file with header info).
/* Theme Name: A1 Child Theme URI: https://fasterthemes.com/wordpress-themes/a1 Description: A1 Child Theme Author: Faster Themes Author URI: https://fasterthemes.com Template: a1 Version: 1.0 Tags: Text Domain: a1-child */
- Finally, don’t forget to activate your child theme in Appearance > Themes
Hope that helps! ??
Forum: Themes and Templates
In reply to: Gateway home site – featured and recent postsSorry, that wasn’t real clear. Try this:
- Download the Gateway child theme, unzip it, and put it in your wp-content/themes folder
- Activate the child theme in your control panel (Appearance > Themes)
- Copy template-home.php from the gateway folder and paste it into the gateway-child folder
- Paste the below code on line 77 in gateway-child/template-home.php.
<div class="row"> <?php // WP_Query arguments $args = array ( 'post_type' => 'post' ); // The Query $query = new WP_Query( $args ); // The Loop if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); get_template_part( 'template-parts/content', '' ); } } else { get_template_part( 'template-parts/content', 'none' ); } // Restore original Post Data wp_reset_postdata(); ?> </div> <hr>
Let me know if this is what you’re looking for and if it makes sense. ??
Good luck!
No worries.
If you’re wanting to get the child theme to work, you might check out this thread. It looks like you have to make sure that the template has the exact same name as your parent theme (case sensitive) in style.css. At the bottom of that thread it also looks like you need an @import line. (Though I didn’t need these things for it to work for me so I’m not sure what’s up with that.)
Either way, best of luck!
Forum: Themes and Templates
In reply to: [Maskitto Light] How to make blog titles align to centerYes! My mistake. I should have mentioned the bit about child themes.
Thanks esmi!
Forum: Themes and Templates
In reply to: [Maskitto Light] How to make blog titles align to centerYou’re welcome! ??
Are you wanting the blog titles to be centered like this? If this is what you’re looking for, you just need to add a couple styles in the rtl.css file (that I mentioned above).
- add
width: 100%;
on line 985 (screenshot) - add
text-align: center;
on line 1102 (screenshot)
Let me know if you have any questions!
When you put the child them I sent in your themes folder was the ColorWay parent theme already there? They both need to be present in the themes directory in order to work.
As far as I know you should be able to put a previous version of the theme in your themes folder. Though it’s possible the child theme I created won’t have the exact same results with the older version. I created the child theme based on 3.4.0.
I guess I would suggest you do one thing at a time—either get your old version of ColorWay working or keep the latest version (3.4.0) running and confirm that the child theme (and the steps above) are working as expected.
Okay here goes.
Disable slider and hardcode static banner image
- Turn off the theme’s slider (Customize > Slider Settings > Slider Control)
- Unzip this child theme and put it in your wp-content/themes directory (this is so updates to the parent theme don’t overwrite your customizations). I did a bunch of the changes for you in this child theme. Let me know if you’d like more details on what specifically I did to make this child theme.
- Activate the new child theme
- In the child theme open up home.php and replace the image on line 39 with the path to your new banner
Remove animation on 4 feature columns
I already took care of this in the same home.php template in the child theme. I just had to remove the “animated” class on those four columns (the divs on line 49, 70, 92, and 111). You can see the difference if you compare it with home.php in the colorway parent theme.
Good luck! Let me know if you have any questions.
Hey there,
I installed the free version of ColorWay and am not seeing an option to do what you’re wanting to do to the slider or the feature section. Do you have the free version or did you pay for ColorWay Pro?
I could explain how to do it with the free version if you want to get into a little bit of code. Let me know if you want to go that route. ??
Forum: Themes and Templates
In reply to: [Atwood] compatibilityHello,
The theme demo seems to be loading in the Internet Explorer 9 emulator (screenshot). Is the demo site loading for you?
Do you have a link to your site or a screenshot? Maybe I can get a better idea of what you’re seeing. ??
Forum: Themes and Templates
In reply to: [Maskitto Light] How to make blog titles align to centerHello!
This page explains how to change your site to read from right-to-left. Basically it involves copying your styles.css file in your theme folder and renaming it rtl.css. Then you will need to go through the styles in this new file and change specific styles (as the page explains).
What is your website address? I can explain which style effects the blog title if you like.
Forum: Themes and Templates
In reply to: [evolve] Gradient of menu barChecking the “Transparent” box and the “Disable menu background…” box is not fixing the issue in Internet Explorer for me. But it is working in Safari, FireFox, and Chrome.