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
Hi Team,
I have a Custom Post Type “post_type=epkb_post_type_1” set up by a plugin. It pulls in the single.php template for displaying posts.
For this post-type only, I would like to enable comments and disable the bottom carousel. Please can you show me how this can be done using the hooks available in the template? I want to avoid changing the configuration in Dashboard > Theme Options > Blog Options > Blog Post Bottom Carousel Default, for the entire site.
Even better would be to force the bottom carousel to show only these post-types. Is that possible? If necessary, I am using a child-theme so modification of the template (“templates/content-single.php” -> “templates/content-single-epkb_post_type_1.php”) is a possibility.
Very many thanks
Phil.In forum: Pinnacle ThemeGreetings!
I’m using Kadence Slider Pro with the Astra theme. I’ve opted for Fullwdith slider design (overriding width/height px value).
On page load, the slider appears fullwidth as it should. However, when I change screen orientation (adjust page width responsively), the slider images suddenly change from fullwidth (nav arrows within image container) to the left arrow being outside the image container. Does that make sense?
If I view the slider on a mobile phone and change from portrait to landscape, the left arrow of the slider pushes the image content to the right of the arrow.
I was able to solve this temporarily by adding the following CSS to my child theme stylesheet:
ul {margin-left: 0px;}However, this is a global command, so bullet lists within posts which utilize “ul” now display too far to the left of the page.
Is there any way to add a custom class or ID to the Kadence Slider that can target it’s “ul” without affecting the rest of the website?
Thanks!
JoshIn forum: Ascend ThemeIn reply to: Portfolio image list
April 18, 2019 at 11:06 am #223343Hey,
You can make this happen by selecting image list, then In your custom css box in the theme options add this css:@media (min-width: 767px){ .portfolio-project .kt-gallery-column-1 .g_item { width: 50%; float: left; } .portfolio-project .kt-gallery-column-1 .g_item:nth-child(3n) { width: 100%; float:none; } }Ben
In forum: Ascend ThemeHello,
Just to clarify, neither of those sites are using a child theme, they are both configured within the constraints of the default theme. So you can accomplish this on any site with Ascend!
The blog area is configured using page builder in the home page content. It’s set to show 3 columns, each column containing a Ascend: Recent Posts Widget. Each column is set to show only posts of a certain category.
The call to action is also added in page builder, using a fullwidth row with one column.
Here’s more information on the page builder plugin:
https://www.kadencewp.com/using-page-builder/Let me know if this is helpful!
-Kevin
I’m really fond of the last two rows before the footer of Ascend’s child theme #2 (*Login to see link but wanting to work namely with child theme #5 (*Login to see link Is there any way to carry over the similar formatting of Child Theme #2? To be detailed, the two sections I am admiring and struggling to replicate are the 3 column layout (which includes a category of blog posts, a second category of blog posts, and about blurb). And that call to action below with the shaping is really nice too.
In forum: Virtue ThemeIn reply to: Portfolio previews are blurred (srcset issue)
April 15, 2019 at 2:19 pm #223130Hey,
I don’t really suggest you make your content width unlimited like you have. It requires that massive photos be loaded in a grid where the width can be whatever screen size the viewer has. Plus on large screens like mine, it makes your images overwhelming in size and harder to navigate and scan the information.
I suggest you consider two alternatives.
One is to simply set a max width for your content, like it does by default but perhaps just make it a little larger for whatever max screen size you want to target.
Another solution is to increase the columns as the screen size gets larger. For example as soon as 270px wide doesn’t work you can use css to increase the columns from 4 to 5 and so on that way your grid just expands in columns instead of the individual columns needing to expand as you get on larger and larger screens.
That can be done with css.
However, I understand that you may want this style and this functionality for really large screens so to change the default way images output you can run some filters using a child theme that will affect the image sizes. Just let me know what size you want for the blog and staff and I can get you some function to add to your child theme.
Ben
In forum: Pinnacle ThemeIn forum: Virtue ThemeIn reply to: Hide products from specific cxatagory from shop
In forum: Ascend ThemeIn reply to: Problem with center bottom title background parallax
OK, great thanks Ben!
That helps me understand what it’s doing.
It’s not a big deal at this point so I’ll just use it as is for now.At some point I may see if I can hack it a bit in my child theme.
When fixing the image to the page is it possible to scale/size it to the image area and then fix that to the page for scrolling rather than scaling/sizing it to the full page?In forum: Virtue ThemeApril 8, 2019 at 10:26 am #222443Hey,
So you just need to update your child theme, I’m sorry for the confusion. I’m not suggesting that you not use a child theme. You just have to update the code in the templates you are overriding to match that of the parent theme then make your edits.But overriding the header.php file is not how I suggest you make changes. That is what I was trying to explain. Here is a code example of how you can hook into the header with a function in your child theme functions.php file and add the featured image without having to touch the header.php template.
add_action('kt_after_right_header_content', 'add_featured_image_into_header'); function add_featured_image_into_header() { global $post; if ( has_post_thumbnail( $post->ID ) ) { ?> <div class="header-feature-image"> <?php the_post_thumbnail( 'full' ); ?> </div> <?php } }Does that help clarify?
Ben
In forum: Virtue ThemeHi Hannah,
Thanks for your suggestions, but I want a different picture on each side. I have reactivated my child theme to give you a better idea of what I want. It used to work just fine. I just want it like this, except I want the mobile menu to disappear.
/Bente
In forum: Virtue ThemeDear Kadence,
Via the forum, I found a way to hide a specific category from the shop page, but I’m still able to load them on a specific other page, .. perfect! However I would like to hide the products in this category or the specific product ids from the shop page while; still being able to load them somewhere else .. please advise.
I used this code in the child-theme:
add_filter( ‘get_terms’, ‘get_subcategory_terms’, 10, 3 );
function get_subcategory_terms( $terms, $taxonomies, $args ) {
$new_terms = array();if ( in_array( ‘product_cat’, $taxonomies ) && ! is_admin() ) {
foreach ( $terms as $key => $term ) {if ( !in_array( $term->slug, array( ‘crowdfunding’,’crowdfunding-nl’ ) ) ) {
$new_terms[] = $term;
}
}
$terms = $new_terms;
}
return $terms;
}In forum: Virtue ThemeThanks Ben,
Yup, the child theme was the culprit of the extra menu, so right now I am just using the general theme.
What I changed with the header in my child theme was the order of elements starting from the top into:
1) logo
2) feature image
3) secondary menu
4) page contentNow, without my child theme, the order has switched into:
1) logo
2) secondary menu
3) feature image
4) page contentwhich is NOT what I want.
Also, without my child theme, the page ‘home’ does not display the feature image at all.
I would be grateful, if you could let me know of an elegant way to solve this issue, so that I get my preferred order of elements back.
/Bente
In forum: Virtue ThemeApril 6, 2019 at 10:37 pm #222307Hey,
This is happening because you are using a child theme and it looks like overriding the header.php file. Your child theme though is not using up to date content from the header.php file in the theme though so it’s creating this conflict.Basically, you just need to fix the content in your child theme. But most of the time overriding the header.php is not necessary so I suggest you remove that file from your child theme and let the parent theme control the header.php content.
Whatever you are editing the template for let me know and I can likely outline a better way to customize without overriding the file.
Ben
In forum: Ascend ThemeIn reply to: Remove Add to Basket
April 5, 2019 at 5:37 pm #222257Hey,
Thanks for sending the link!There isn’t any way to target a specific product and hide the price in a sidebar widget like that, there are no classes or identifiers so to hide there you would need to hide all the products price.
So you can’t do it with CSS but you can use a child theme and add a function, there is a write up here showing different ways and it shows how you can target a specific product and hide that price from being output:
https://jeroensormani.com/hiding-product-prices-woocommerce/
Ben
In forum: Virtue ThemeIn reply to: List of podcast episodes on front page
April 4, 2019 at 2:56 pm #222131Hey,
1. Yes you should create a home page, assign it and then in your theme options > home layout make sure “page content” is enabled.2. If you use a plugin like: https://wordpress.org/plugins/seriously-simple-podcasting/ then the player would output in the excerpt. But since your posts are not showing the player based on how you set it up I suggest using the full output if you want the player.
You can, however, add the player manually through a function and some child theme overrides but it’s tricky to pull out just some content and not all content.
Ben
In forum: Pinnacle ThemeIn reply to: Revolution Slider Update File
In forum: Pinnacle Themeok, Ben, I tried to take the PayPal button code and stick it into the Footer Output section and it won’t let me take save it. I did go into the staging site that I have and I installed File Manager plugin and went in there and deleted the footer.php file in the child theme in that staging site and then it let me save that code in the Footer Output part. However, it didn’t fix the problem of the Icons not showing and my PayPal button is now gone on that staging site. I’m hesitant to change it in the real site at this point. I wanted to see what you thought knowing that. Hope to hear from you tomorrow. thanks so much.
In forum: Pinnacle ThemeApril 2, 2019 at 6:08 pm #221920Hey,
You are overriding the footer.php file.You shouldn’t do that through your childtheme.
Just add the html that you’ve put into that file in your theme options > header and footer scripts. Place in the footer scripts.
then remove the footer.php file from your child theme and that will fix your issue.
Ben
In forum: Pinnacle ThemeIn reply to: Revolution Slider Update File
April 2, 2019 at 6:01 pm #221919The notice means you are using a child theme and overriding files. Likely files you don’t need to override but regardless you haven’t updated. So you need to update your child theme.
If you need specifics send me a login and I can look at your child theme and see what you are doing.
As for search and replace use this plugin: https://wordpress.org/plugins/better-search-replace/
Ben
-
AuthorSearch Results


