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'
-
AuthorSearch Results
-
In forum: Virtue Theme
I have searched the forum, found the premium child theme zip that Ben shared and have downloaded that but to save asking for his help again (and because I need to learn to do this myself!) can anyone give me an idiots guide to adding it to my wordpress please? I literally have no idea, I’m new to this…sorry! Do I upload within the WP-admin or through my host Cpanel? Do I just upload the css file or everything in the zip folder? Where do I upload it to exactly? thanks, Justine
In forum: Virtue ThemeIs there an admin panel way to change the grid? It currently uses (at large resolutions) col-9 and col-3 to form the main and sidebar respectively. I would like to switch this to using col-8 and col-4.
I see in config.php in the functions “kadence_main_class” and “kadence_sidebar_class” that I can change them if I want to hardcode them that way. Is this the recommended way, though? During an upgrade I will lose those changes. If I put them into a Child theme there may be a conflict with future releases of Virtue if you add methods to config.php that I miss by “overriding” them with the child theme file.
So yeah… is modifying config.php my only choice if I want to do it this way? I do NOT just want to override the “col-9” CSS with a copy of the “col-8” CSS.
Thanks for your time!
In forum: Virtue ThemeIn reply to: search form under logo
October 1, 2014 at 11:21 am #18868Hmm.
If you go to theme options > main settings. Select the last logo layout option which enabled a widget area.
Then add this css:
.kad-header-left { width: 100%; float: none; text-align: center; } .kad-header-widget { width: 100%; float: none; text-align: center; }That will make the header widget area below the logo without having to use a child theme.
Ben
In forum: Virtue ThemeTopic: search form under logo
Hi,
Is there a way to remove the WP search form from the top bar, and put it under the logo, in the header?
I would like to have something similar to what I did with another template, on my website mapscompany.com
I did this by creating a child theme, and customizing the header.php file in the child theme. Would it be correct with Virtue Premium, or is there an easier / more relevant way?
Regards,
ChristianIn forum: Virtue ThemeIn reply to: Adding Horizontal Navigation Bar
Hey, are you wanting a menu like this- http://themes.kadencethemes.com/virtue-premium/ Your primary navigation menu displays horizontally across the header so I’m confused as to what you’re trying to do. Here’s a tutorial on menus: https://www.kadencewp.com/building-displaying-menus/
If you’re looking to edit the theme I would strongly suggest not doing it through the editor. I would create a child theme then make changes through your virtue child folder.Hannah
In forum: Virtue ThemeIn forum: Virtue ThemeAfter working hard to develop a site in Virtue, our company shelved it for a while. At the time, it was at version 1.7.x
We always had a problem seeing the wpadminbar in the header, and I thought, “maybe I should take this opportunity to upgrade, and maybe the bar will even be there!”
Followed these steps:
1. Exported the settings
2. Switched to another theme (twenty-thirteen) to avoid locks or whatnot
3. “Removed” the old theme by renaming its folder to _virtue_premium but maintained my virtue child theme as it was
4. Uploaded the new theme
5. Activated my child theme (which activated the new Virtue 2.6.4)
6. Imported settings.A lot of the site was broken, but that’s sort of expected… CSS conventions change; layout manager changes… can’t expect a perfect transfer when the whole reason for upgrading a theme is to improve upon it!!
But what was not expected was when I click “Theme Options” in the wpadminbar from viewing the site, I get the error:
“You do not have sufficient permissions to access this page.”
If I go to the Dashboard, I can then select Theme Options. But I can’t access it via wpadminbar.
In forum: Virtue ThemeIn reply to: Adding greater quantities to cart
September 30, 2014 at 10:30 am #18751You can use a child theme, add this code into the child theme functions file or a functions plugin(https://wordpress.org/plugins/custom-functions/):
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart'); add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_add_to_cart', 1);Won’t look perfect so you will want to adjust the style with some css.
Ben
In forum: Virtue ThemeIn reply to: Few gotchas related with CSS — need help
September 29, 2014 at 12:25 pm #186751. If you want your header sticky the option is in the theme options > main settings. If you just want your topbar then this css will do it.
@media (min-width: 1200px) { .headerclass { margin-top: 105px; } #topbar { position: fixed; width: 100%; z-index: 1000; top: 0; } }2. I don’t see this?
3. “Newsletter subscription” is not theme, check the plugin settings.
4.
#containerfooter h3 {font-size: 14px;}5.
#containerfooter label { font-weight: 400; } input.wysija-submit.wysija-submit-field { padding: 4px 10px; margin-bottom: 5px; background: rgba(0,0,0,.1); border: 0; transition: background .6s ease-out; -webkit-transition: background .6s ease-out; -moz-transition: background .6s ease-out; -o-transition: background .6s ease-out; } input.wysija-submit.wysija-submit-field:hover { background: #2d5c88; color: #fff; }6. You just want the text color white?? This won’t look good.
.widget_wc_aelia_currencyswitcher_widget .currency_button { color: #fff; }7. What do you define as a title?
8. I don’t understand what you mean?
9. You could only do this with a child theme and editing the theme files. templates/footer.php is a good file to start in. Unfortunately that is beyond support and you would need a developer if you don’t know how to do it.
10. Again, would need a child theme, hire a developer if you don’t know how to do it.
Ben
In forum: Virtue ThemeIn reply to: Display more information in overview product page
September 29, 2014 at 8:06 am #18649Hey,
If you want to add information like that to your shop grid pages you would have to edit the woocommerce framework. Or find a plugin that handles the hooks for you. I don’t know of any plugin but you can look.
else you need a child theme and a good understanding about how hooks work and adding metatboxes to your products.Ben
In forum: Virtue ThemeIn reply to: Archive Page Template?
September 27, 2014 at 5:59 pm #18581The database that controls which menus are active are theme specific. A child theme is considered a different theme.
Ben
In forum: Virtue ThemeIn reply to: Change SKU
September 27, 2014 at 9:41 am #18548The theme doesn’t override the meta and there isn’t a filter that would allow you to change the text. You would have to use a child theme and copy the meta.php file into it. Then change the wording.
Ben
In forum: Virtue ThemeIn reply to: Archive Page Template?
In forum: Virtue ThemeIn reply to: Archive Page Template?
September 26, 2014 at 4:40 pm #18527If you make your own page template use a child theme. With a child theme you can add your template and it will not be overridden when there is an update.
http://codex.wordpress.org/Child_Themes
“Furthermore, do you plan to integrate an “official” archive template?”
Probably not, I would just use pagebuilder and the archive widgets.
Ben
In forum: Virtue ThemeIn reply to: Problem with Advanced Settings after last upgrade
September 26, 2014 at 12:59 pm #18516I’m not sure how you have the parent and child set up but you shouldn’t have any code in your parent them. If it’s done correctly all the changes would be in your child theme. Either way if you want to add some javascript to the site you can just use a plugin:
https://wordpress.org/plugins/header-and-footer-scripts/Ben
In forum: Virtue ThemeIn reply to: Problem with Advanced Settings after last upgrade
September 26, 2014 at 11:55 am #18506It turned out that my friend added also another code to files:
in file: assets/js/main.js , code JS:
jQuery(‘#post-carousel-gallery’).find(‘img’).each(function(i, img) {
img = jQuery(img);
var caption = new jQuery(‘<small>’ + img.attr(‘alt’) + ‘</small>’);
caption.insertAfter(img);
});so that code from advanced settings is corelated with this file modification. And I had this modificaton in Child Theme, and in Parent Theme, but after last upgrade it disapeared from Parent Theme (but other changes in files remained).
Now I added this code to file in Parent Theme (in Childe Theme it already existed), and now everything works. But I am afraid that after each your upgrade of Theme I will have similar problems.
So now I am OK – are you still interested to receive a login to see my website?
Iwona
In forum: Virtue ThemeIn reply to: Separating the topbar from the header
September 26, 2014 at 8:56 am #18483Hey,
1. You can’t separate the topbar and the rest of the header to place a slider between. At-least there isn’t an option or custom css that could do it, you would have to edit the theme files. And would need a child theme and some code knowledge.2. making the header sticky and not the topbar is pretty tricky but possible, I need to know what your header settings are though. Can you post a link.
Ben
In forum: Virtue ThemeSeptember 26, 2014 at 6:49 am #18476Hello,
After last upgrade I have a problem with CSS in Advanced Settings in Virtue Premium Template:
I hade four codes there, three of them works correctly after upgrade, but one does not:
I mean a code, which put the titles under carousel in posts (visible during reading single post), the code is:
.carousel_gallery_item a {
display: block;
position: relative;
width: 100%;
}
.carousel_gallery_item small {
background: rgba(0, 0, 0, .5);
bottom: 0;
color: #fff;
left: 0;
line-height: 1.1;
padding: 10px;
position: absolute;
width: 100%;
}Before the last upgrade it worked very well. Could you help me? What has changed in last upgrade, which does not allow to work for this code, and what can I do with it. I am not a programmist, so please explain me it in simple way :).
I made a Child Theme a couple days ago – could it be the problem? But everything worked well after it – the problems turned out after upgrade two days later.
Best Regards,
Iwona PacholecIn forum: Virtue ThemeIn reply to: Continue Shopping Button
September 25, 2014 at 11:20 pm #184541. You will need to use a child theme, or a plugin like this https://wordpress.org/plugins/custom-functions/
Then you add this code to the functions file or the plugin functions:
add_action( 'woocommerce_after_cart_table', 'kad_keepshopping', 40 ); function kad_keepshopping() { echo '<p class="return-to-shop"><a class="button kad-btn-primary wc-backward" href="'.apply_filters( 'woocommerce_return_to_shop_redirect', get_permalink( wc_get_page_id( 'shop' ) ) ).'">'.__('Return To Shop', 'woocommerce' ).'</a></p>'; }2.
add this css to your custom css box in the theme options:@media (max-width: 480px) { .kad_product { width: 50%; float: left; } }Ben
In forum: Virtue ThemeTopic: Disable Sidebar on CPT
Hi Ben
I am using event espresso 4 plugin. I would like to disable sidebar on all the event espresso CPT pages and posts.
I’ve tried the following in child theme function file, but not working – I get:
Fatal error: Call to undefined function espresso_events_query() – can you suggest the best method to target the CPT espresso_events?
add_filter('kadence_display_sidebar', 'event_sidebar');
function event_sidebar($sidebar) {
if (espresso_events_query()) {
return false;
}
return $sidebar;
}UPDATE: I fixed it with the following;
add_filter('kadence_display_sidebar', 'kad_sidebar_on_special_page');
function kad_sidebar_on_special_page($sidebar) {
global $post;
if ($post->post_type == "espresso_events") {
return false;
}
return $sidebar;
} -
AuthorSearch Results


