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: Pinnacle ThemeApril 2, 2019 at 12:01 pm #221890
You don’t need any of this in your child theme:
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ ); function my_theme_enqueue_styles() { $parent_style = ‘parent-style’; // This is ‘pinnacle premium’ for the Pinnacle Premium theme. wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ ); wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( $parent_style ), wp_get_theme()->get(‘Version’) ); }It’s not currently going to be doing anything either. You don’t need to add anything in your child theme for the parent theme styles to load.
Send me a login to your site I’ll take a look at what you are doing so I can see what might need to be fixed in your child theme.
Ben
In forum: Pinnacle ThemeHi Kevin, I downloaded that child them and tested it on the staging site but it didn’t bring back the icons so there doesn’t seem to be a point in activating that.
Here is the article from the codex that explains it. I’m just not sure about how to substitute the part in the codex says twenty fifteen theme for Pinnacle Premium. Im wondering if I have it written incorrectly.
https://developer.wordpress.org/themes/advanced-topics/child-themes/
In forum: Pinnacle ThemeI’m not familiar with that method for adding a child theme, however it seems overly complicated. We have child themes for download here:
https://www.kadencewp.com/child-themes/-Kevin
In forum: Pinnacle Theme<?php
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
function my_theme_enqueue_styles() {$parent_style = ‘parent-style’; // This is ‘pinnacle premium’ for the Pinnacle Premium theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
?>
Is this the correct way to write this? This is copied from the WP Codex but I put in the Pinnacle premium part, and I’m not sure it is correct. I haven’t tried it on the live site but I have a staging site that I created and it wont let it save the file so I’m sure something is wrong. Thanks so much.In forum: Pinnacle ThemeHi, well I haven’t made any changes to the child theme since 3 years ago when I built the site. However, I did just do a preview of the parent theme and the icons are appearing in that preview. However, I need the child theme because I have PayPal buttons in the head and foot that will disappear with theme updates I believe so that is why I made the child theme. Do you think it may be because of the old method of @import as opposed to the enqueue?
In forum: Pinnacle ThemeIn forum: Pinnacle ThemeI updated to the latest WordPress version and then I updated and purchased a new license for the pinnacle pro theme and my icons on the home page have disappeared. I checked the Home Layout section and on the backend, the Icon menu is enabled and everything is there but they seem to be invisible on the front end. If you hover over the area you can see that it will still be clickable. I have tried to just recreate this in Kadence blocks but it doesn’t seem to be working very well and doesn’t look as nice and Gutenberg doesn’t even seem to be working very well on this site.
I am running a child theme of Pinnacle Premium. When I set this site up I used the @import ****** @import url(“../pinnacle_premium/style.css”); ****** instead of the enqueue way of making a child theme as at the time that was how it was still being done. I used the plugin, Child Themeify. For the template, I have, Template: pinnacle_premium
Could this be a part of the problem? Or does it have nothing to do with it? Everything was fine before both updates. I didn’t notice the icons missing before the theme update but I don’t recall now if they were still there after the WP core update but before the theme update. They were 10 minutes apart.
Here is the link to the website in question.
Thank you!
In forum: Virtue ThemeIn reply to: “Related Products” change the H3 to paragraph
March 29, 2019 at 8:50 am #221469You would have to override a woocommerce template in your child theme, woocommerce/single-product/related.php
Then edit line 98.
Ben
In forum: Virtue ThemeIn reply to: Product slider by TAG
March 28, 2019 at 2:46 pm #221408There is not a widget that would show products in a slider by tag. Sorry if that wasn’t clear I thought we have tried to make that clear from the start.
You can create your own with custom code in a child theme. Or follow one of our suggested options like using categories or featured products
You can set the category when using featured, so you can use type “featured” and still only so products of a specific category so you can use multiple “featured” carousels with different products.
Ben
In forum: Virtue ThemeIn reply to: Adding a font with custom icons
March 28, 2019 at 2:41 pm #221407Your site is in coming soon mode. I can’t see it.
This css in your child theme would override the theme icons and make none of them work. I thought that’s what you wanted:
[class^=”icon-“], [class*=” icon-“] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: ‘my-icons’ !important;Perhaps it would be better to step back and really explain where you want to use your icons. If you want to add your own on top of the theme then you need to define your own custom class.
For example all your icons can start with custom-icon instead of icon.
Ben
In forum: Virtue ThemeIn reply to: Virtue + WooCommerce – Creating different sidebars
Hello,
I believe you would need to use a child theme for this. Are you currently running one on your site?
Another option would be to use this plugin and configure conditional widgets to show on certain pages and not others:
https://wordpress.org/plugins/widget-logic/Does that work for you?
-Kevin
In forum: Membership ForumsAnonymousMarch 27, 2019 at 3:46 am #221131I can`t see any Woo-Extras-widgets in elementor on the left hand side. What is wrong?
Child-Theme Twenty SeventeenIn forum: Ascend ThemeIn reply to: No paragraphs in comments
March 25, 2019 at 10:26 pm #220965Hey,
In your theme options > custom css box add this:
.comment-list .comment-content p { margin-bottom: 20px; } .comment-list .comment-content p:last-child { margin-bottom: 0; }I’ll include this fix in the next theme update as well.
Ben
In forum: Membership ForumsIn reply to: Woo / Elementor Pro
March 25, 2019 at 2:03 pm #220923Do you know if it would be possible to dynamically pull in the product details into the checkout?
It’s possible with a child theme and custom filters along with overriding checkout template files. It’s not easy coding. You might be better off looking at a plugin like cart flows I think. But if you are interested then you will need to start by overring the review-order.php template in your child theme.
I’ve been considering improvements to the checkout options so that could be part of my action plan but I don’t have a timeframe for that.
In forum: Virtue ThemeIn reply to: Adding a font with custom icons
Thanks Ben,
The child theme seems to be a good way of getting the fonts into the web site. I still do not have everything correct?
I downloaded the virtue_premium_child zip files. I modified the style.css in the virtue_premium_child to include my-icons. I added a fonts folder to the virtue_premium_child folder and placed my-iccons.svg .eot .ttf and .woff files. I then created my version of the virtue_premium_child.zip. went into appearance->themes and uploaded my child theme, activated it. I added a shortcut to my page
[icon my-icons=noun_correlation size=40px style=circle color=#fff background=#444]
The home icon appears in the place of my noun_correlation
here is the style.css contents./*
Theme Name: Virtue Premium Child
Theme URI: http://example.com/virtue-premium-child/
Description: Virtue Premium Child Theme
Author: John Doe
Author URI: http://example.com
Template: virtue_premium
Version: 1.0.0
Tags: light, dark, two-columns, right-sidebar, responsive-layout
Text Domain: virtue-child
*//* Theme customization starts here
————————————————————– */@font-face {
font-family: ‘my-icons’;
src: url(‘fonts/my-icons.eot?swjtpn’);
src: url(‘fonts/my-icons.eot?swjtpn#iefix’) format(’embedded-opentype’),
url(‘fonts/my-icons.ttf?swjtpn’) format(‘truetype’),
url(‘fonts/my-icons.woff?swjtpn’) format(‘woff’),
url(‘fonts/my-icons.svg?swjtpn#my-icons’) format(‘svg’);
font-weight: normal;
font-style: normal;
}[class^=”icon-“], [class*=” icon-“] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: ‘my-icons’ !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}.icon-noun_statistics:before {
content: “e900”;
}
.icon-noun_correlation:before {
content: “e901”;In forum: Ascend ThemeIn reply to: Change/customize login popup
March 25, 2019 at 2:22 am #220871Hello Ben,
Yes, I have created a child theme based on Ascend Premium.
All I need is adding a customized link next to “lost password”. I have full access to the server.Thanks.
In forum: Ascend ThemeIn reply to: Change/customize login popup
March 24, 2019 at 11:51 pm #220857The best way I suggest you do this is through enabling registration on your site (then the link will appear by the login form) and then you can add a redirect from the normal login form to your custom one.
https://wordpress.org/plugins/safe-redirect-manager/
Othersize you will need to use a child theme and create your own custom popup which will mean you are managing php code. So I suggest doing the first thing unless for some reason you really want to edit code? let me know.
Ben
In forum: Ascend ThemeIn reply to: Change/customize login popup
March 22, 2019 at 11:54 am #220706Hello Ben,
Thank you very much for the help. I already created a child theme based on Ascend. And these code works fine.
However, there are a bit more that need your help: such as adding more text, adding a link to registration, adjusting the text size or input block size.
And I want to change the button link of “Buyer Login” in the middle of the home page, to this pop up as well.
Possible?
Kind regards,
In forum: Ascend ThemeIn reply to: Change/customize login popup
March 22, 2019 at 11:35 am #220704Adding a logo as a img tag would require you use a child theme and create you own popup output. But It’s possible.
You can also pull this off with custom css using a background:
#kt-extras-modal-login .woocommerce-notices-wrapper:before { content: ''; width: 300px; height: 92px; background: url('https://www.cgecu.com/wp-content/uploads/2019/03/FF_FRESHFARMER300dpi_LO2-768x237.png'); background-size:contain; background-repeat:no-repeat; display: block; margin: 0 auto; }Ben
In forum: Pinnacle ThemeIn reply to: blog page post list not showing at full width
March 22, 2019 at 12:00 am #220627Hey,
I pushed out an update that will likely fix this. Basically, if you were setting your blog page by using the settings > reading and defining a page as the “posts” page that overrides any template setting you set in the page. Because it doesn’t use the template you set it uses it’s own custom “home” template. The home template was set to show with a sidebar.I added in some hooks in the latest update which makes the sidebar respond more like a page and you can better turn it off when you have set the settings > reading.
In terms of image size, you would have to use a filter in a custom child theme to change the ratio of the “portrait” images. You can edit the “landscape” images from within the post by setting the max width and max height.
Example code:
add_filter('kt_post_excerpt_image_width_portrait', 'custom_portrait_image_width' ); function custom_portrait_image_width( $width ) { return 300; } add_filter('kt_post_excerpt_image_height_portrait', 'custom_portrait_image_height' ); function custom_portrait_image_height( $height ) { return 400; }Ben
-
AuthorSearch Results


