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
In reply to: Print-page problems
ok, since copy text gets minuscule now, I tried to add a ‘p’ size (bigger) in your @media print — but it isn’t overriding any existing print-css.
Changing the ‘X-large’ style declaration from xx-large to em didn’t help either.Somewhere I think the problem is that the template forces me to use ‘px’ sizes everywhere (in custom settings) and I’m not understanding how the print-css is then calculating stuff.
But if body was set to px and any other style to em, rem, % etc, wouldn’t that make the whole site grow or reduce based on the body-base-size, thus making it easier to define print-styles too?
Overall I’ve tried to avoid giving ‘font-size’ in my stylesheet, not to override anything defined in the base theme… and used ems/%/x-large etc to enlarge special styles.
No matter what I do, however, the print result is not good.
I also see that there are several stylesheets going on… (assets, and themeoptions assets) — And I’m not understanding fully how they interact and how their priority is set.I understand that from a coder’s viewpoint having ‘objects’ for the various parts is easier, you just add or subtract styles and voilà. But then when working (customer end) you suddenly find that the child css is not overriding as expected. Thus managing problems is not easy at all.
So I’m left with wishing one of 2 things:
1 — printing overall handles sizes with a known rule (so I can interact correctly) such as: %, em or whatever. And just tell me how I should declare sizes in my child.
2 — printing takes the site ”as is” and prints that. Without randomly reducing some things while others are left big.I hope this helps a bit?
and yes, I know this is complicated! 😉In forum: Virtue ThemeIn reply to: Forums Plugin
April 28, 2014 at 10:09 am #8091This is bbpress. And it’s built with a child theme. I had to add all the “support” functionality and a lot of the template files have been overridden. So it’s not actually built into the theme. To get bbpress looking good you will want to do some customization in a child theme.
Ben
In forum: Virtue ThemeIn reply to: Tanslation of blog comments
In forum: Virtue ThemeIn reply to: remove "title" of pages
April 28, 2014 at 12:57 am #8065Hey,
If you are using a child theme it can be done with the template by removing what you posted, but another way is just to add this to your custom css box:.page-header { display:none; }Ben
In forum: Virtue ThemeTopic: remove "title" of pages
Hi,
I am trying to remove the h1 titles on each page. I was able to do this on the home page using theme options. I am not finding a successful way of overriding this code in my child theme: (page-header.php)
<h1>
<?php echo kadence_title(); ?>
<?php if(kadence_display_page_breadcrumbs()) { kadence_breadcrumbs(); } ?>
</h1>Can you suggest a way to do this in a child theme?
Thank you!
In forum: Virtue ThemeIn reply to: Responsive settings and centering div.
Ok so now my sections are within the <div id=”wrapper” class=”container”></div> but my sections aren’t responsive like the rest of the page content. I added my own separate media quires to the sections through child theme css. No luck…What do I need to do if my media quires aren’t working?
In forum: Virtue ThemeIn reply to: Border or solid line under topbar above logo
Hi Ben
I did the menu things as well on another site, and it works great thanks.
Separately, WP is saying that Virtue Premium has an update to 2.3.3 available but it gives the following warning:
“The following themes have new versions available. Check the ones you want to update and then click “Update Themes”.
Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.”My question is, what does that mean? IE, does it mean any manual edits I have done to any files / css would be lost (which would make sense) or does it mean the stuff I added as you provided in the custom css bit in theme options?
Just want to make sure. Thanks.
Kind Regards
KavIn forum: Virtue ThemeIn reply to: Border or solid line under topbar above logo
Hi Ben,
Have a look, it’s not done exactly as wanted, but it will do for now. Might have to look into the child theme eventually.
Any way to get an icon menu with text showing or the menu that you see (topbar), having icons as well as the text like the cart one?
Thanks again
KavIn forum: Virtue ThemeIn reply to: Border or solid line under topbar above logo
April 16, 2014 at 4:06 pm #76051 and 2: add this:
@media (min-width: 768px) {.topclass { height: 38px; } }3. Well The link you are pointing two doesn’t use the icon menu in the theme options, it uses the virtue: social widget.
I set that up by adding the social widget to the topwidget area. Then in the topbar theme options making the layout flip so the widget area would be on the left.So it’s going to be even more tricky if you are going to want the topbar icon menu on the left, normal menu on the right with the woo cart and search… at this point the next step is to make a child theme, copy the header-topbar.php file into the child theme in a templates folder.
Are you familiar with child themes?
Ben
In forum: Virtue ThemeIn reply to: Selectively Removing Sidebar
In forum: Virtue ThemeIn reply to: Selectively Removing Sidebar
April 15, 2014 at 9:48 am #7515Hey so it can all be done with a function that way you can keep all the edits in a child theme functions file. So for example, if you don’t want a sidebar on the event tribe then use this function:
add_filter('kadence_display_sidebar', 'tribe_sidebar'); function tribe_sidebar($sidebar) { if (tribe_is_event_query()) { return false; } return $sidebar; }That is assuming the tribe_is_event_query() is a conditional and will return a true or false.
Ben
In forum: Virtue ThemeTopic: multiple menus
Hello
If I’m understanding my menus correctly – I have the 5 menus with the package and they seem like they show up on all pages.My website used to just have shop display of product to buy but now I would like to almost separate the site for either “product buy” AND “classes offered”.
Therefore I would like the product menu (secondary) menu to show only for product pages and have a “Class menu” show up for the class side of the business.I’m not a super programmer and prefer to use standard theme stuff if possible.
Something like home page shows 2 paths – product or classes – than depending on selection a different menu and pages would present.I’m wondering if this can be done and best way? Would you recommend a child theme or just different menus on one site?
Thank you so much –
PatIn forum: Virtue ThemeTopic: centering sitename
Hi, I have set the menu in the Topbar, works fine.
I work on a child theme, latest version.So now I have the sitename below it, and I want it text-center/centered
but no matter what I do it expects to have a second table cell on the right
(and there is nothing in it, since no menu in that position).
And it will not stretch full width and will not be centered.There are no menu/header options for ‘no menu’ right/left: just sitename.
have a look here…
*Login to see linkHow do I target this in css?
In forum: Virtue ThemeIn reply to: Moving the add to cart on product pages
April 11, 2014 at 12:01 pm #7362hmm well I just assumed you were using a child theme. You can put this in the main theme functions.php file but every time you update you will have to add again.
Of you can use a child theme which allows you to make edits to a themes template files and add functions and css without having it wiped every time you upgrade.
Here is a basic child theme: https://www.kadencewp.com/wp-content/uploads/2014/02/virtue_premium_child.zip
Ben
In forum: Virtue ThemeIn reply to: Moving the add to cart on product pages
April 10, 2014 at 5:56 pm #7336Add this to your child theme functions file:
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 ); add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 35 );Ben
In forum: Virtue ThemeIn reply to: dissable magnific lightbox
April 8, 2014 at 10:22 am #7180So to do it in your child theme you would want to switch out the main.js file.
Copy it to your child theme and remove the unwanted js (lines 15-55)
Then in your functions.php file of the child theme add this:
function switch_main_scripts() { wp_deregister_script('kadence_main'); wp_register_script('kadence_main', get_stylesheet_directory_uri() . 'main.js', false, 230, true); wp_enqueue_script('kadence_main'); } add_action('wp_enqueue_scripts', 'switch_main_scripts', 100);Ben
In forum: Virtue ThemeIn reply to: dissable magnific lightbox
In forum: Virtue ThemeIn reply to: Add scrollspy to the theme
April 6, 2014 at 10:03 pm #7137By scroll spy you mean you are using the theme as a single page site?
Scroll spy javascript is actually in the bootstrap framework (part of the theme) but you would need to add all the data tags to the menu items. You would almost be better off with a child theme and editing the header file, adding a menu manually without using the wordpress menus.
http://getbootstrap.com/javascript/#scrollspyBen
In forum: Virtue ThemeIn reply to: question about comment icon above a blog post
April 6, 2014 at 8:18 am #7129.postedintop i, .postauthortop i{ font-size: 18px; }So to be clear you want the latest posts to have the same meta as the blog page?
copy templates/home/blog-home.php into your child theme using the same folder structure.
if you are using the one column layout use templates/home/blog-home-onecolumn.phpremove lines 57-72
replace with :
<?php get_template_part('templates/entry', 'meta-subhead'); ?>Ben
In forum: Virtue ThemeIn reply to: question about comment icon above a blog post
April 6, 2014 at 1:13 am #7123Hey Ben,
yes, i know how a child theme works, but i can’t write code on myself 😀
yes, i meant make it lager <<.postcommentscount>> works fine, what do i have to write to also make the other icons (user/category) lager, so that they all have the same size?
Marion
-
AuthorSearch Results


