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: Image Border/ Child Theme
In forum: Virtue ThemeIn reply to: Image Border/ Child Theme
November 14, 2013 at 8:54 am #1524A child theme allows you to add page templates, functions and make larger changes to the theme styles without having to do it over every time the theme updates.
I am working on a huge update to push out version 2.0 of virtue. Gonna have a new options panel, new css framework and some new shortcode buttons. Once I get this launched I’ll start writing some tutorials on how to use child themes.
For now, the easiest thing to do is add this to your custom css and then leave the image border on in the theme options.
[class*="wp-image"] {-webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;border:none;}Ben
In forum: Virtue ThemeTopic: Image Border/ Child Theme
Hi Ben,
Is it possible to hide the image border but still have the border on hover? Like this:
*Login to see linkWhat I did to achieve this is to set the theme options to not hide the image border and then edit it out of the virtue.css but since I’ve no idea how to use a child theme yet I keep editing it when I update.
I notice also that there’s a child theme that can be downloaded along with the updates. I’ve never tried to download it, can you please advice what it does?
Thank you very much!
Breezy
In forum: Virtue ThemeIn reply to: Take away header image on mobile site
November 11, 2013 at 7:30 am #1471Hey,
It’s not working because on line 227 of your child theme css you have this written:.fourcolumn .product_item .product_details h5, .s-threecolumn .product_item .product_details h5 { font-weight: normal; font-size: 18px; text-transform: none; padding: 10px 10px 0 10px; margin: 0; min-height: 40px; }All you need to do is switch the min-height there to 120px and you can leave out the css you added to line 29
Ben
In forum: Virtue ThemeIn reply to: Shop Page
In forum: Virtue ThemeIn reply to: Sidebar on Portfolio Grid
October 28, 2013 at 9:54 pm #1175Hey Barbara,
The Theme isn’t built to have a sidebar on the portfolio pages, you would have to do a decent amount of editing to the code to change the layout for a sidebar.I would strongly suggest a child theme if your planning to undertake the project.
As for tighting the spacing between the title and the portfolio items you can add this to your css:
.page-header { margin-bottom: 0; }Hope that helps
BenIn forum: Virtue ThemeIn reply to: Child theme CSS
In forum: Virtue ThemeIn reply to: Child theme CSS
October 26, 2013 at 11:31 am #1133Hey Kelly,
Try this at the top, you don’t need the @import:/* Theme Name: Virtue – Premium Child Theme URI: http://themes.kadencethemes.com/virtue-premium/ Description: Child theme for Virtue – Premium theme Author: Kadence Themes Author URI: https://www.kadencewp.com/ Template: virtue_premium Version: 1.0.0 */Then add your styles below.
As for how the theme css hierarchy works, if the css in generated by the options panel it is the last to appear so those styles overrule all others. So in some cases you may need to at html at the beginning of your class in the css to make it prioritized over the theme options panel.
If this doesn’t help, send me a link and I’ll gladly take a look.
Ben
In forum: Virtue ThemeIn reply to: Child theme CSS
Yes, it does make sense. It isn’t happening that way, though. I am having to put everything into the custom css area, so I must be doing something wrong somewhere. Here is what I have up top of my style.css for the child theme.
/*
Theme Name: Virtue – Premium Child
Theme URI: http://themes.kadencethemes.com/virtue-premium/
Description: Child theme for Virtue – Premium theme
Author: Kadence Themes
Author URI: https://www.kadencewp.com/
Template: virtue_premium
Version: 1.6.2
*/
@import url(“../virtue_premium/style.css”);In forum: Virtue ThemeIn reply to: Child theme CSS
October 25, 2013 at 12:24 am #1112With a child theme the only CSS that will be read is from the style.css file. If you copy the default.css skin you will want to paste it into the style.css file in the child theme folder.
Hope that makes sense.
Ben
In forum: Virtue ThemeTopic: Child theme CSS
Hi, Ben. I am creating a child theme and I have the /templates folder in my child theme (for changes to header.htm and footer.htm) as well as the style.css file which has the child theme/parent theme info at the top. So, I have taken the default.css file (Assets/CSS folder) from Premium_Virtue and copied those styles and made changes and have also added some other styles. So, even after doing this, I am having to put my styles in the ADVANCED area of the Theme Options custom CSS area for them to show up. Am I doing something wrong? I thought I wouldn’t have to use the custom CSS area if I had a child theme. I just don’t want my client to change anything in there and make the site go wonky. Thanks!!
In forum: Virtue ThemeI rather stupidly added a “<b>” command to the title of one of my image menu items to try and get my eight image menu items to line up properly on the home page (in two neat rows of four). I have only just read your instructions on how to do this in a previous post and wish I had done that first.
Now I cant access any of the ones after them in the drop down menus in the home layout tab of theme options. I have found the offending line by looking at the page source through the Chrome browser (line 237 <h4>CONTACT US <b></h4>) so I was wondering can you tell me what the best way would be to access the html and delete the offending “<b>”?
Or is there a way I can just delet the whole image menu I did and start again properly (my backup is too recent so I cant revert to that).
I am currently using a child theme to allow me to customise my theme.
In forum: Virtue ThemeIn reply to: Custon flexslider on home page
ok they now look like this
<?php if(detect_mobile()) {
<?php echo do_shortcode(“[metaslider id=494]”);?>
} else { ?>
<?php echo do_shortcode(“[metaslider id=312]”);?>
}?>and I’m getting this error
Parse error: syntax error, unexpected ‘<‘ in /home/i50263/public_html/testing/wp/wp-content/themes/virtue_child/front-page.php on line 2
In forum: Virtue ThemeIn reply to: Custon flexslider on home page
Thanks for that. I’ve done that and entered it as follows…
<?php if(detect_mobile()) {
metaslider id=494
} else { ?>
metaslider id=312
}?>but I’m getting this error…
Parse error: syntax error, unexpected ‘id’ (T_STRING) in /home/i50263/public_html/testing/wp/wp-content/themes/virtue_child/front-page.php on line 2
Have I entered the meta codes wrong? Should I put them in brackets like this… [] or should they be in this format… <?php echo do_shortcode(“[metaslider id=494]”); ?>
In forum: Virtue ThemeIn reply to: Custon flexslider on home page
October 23, 2013 at 8:55 am #1072Ok you need to copy the front-page.php and paste into the child theme directory. Then delete the first 30 lines and add this:
<?php if(detect_mobile()) { // YOUR MOBILE SLIDER HERE } else { ?> // YOUR DESCKTOP SLIDER HERE }?>Put your code in the appropriate places.
Ben
In forum: Virtue ThemeIn reply to: Custon flexslider on home page
I’ve uploaded the Child theme.
So how do I do the edit to the front-page.php using the child theme? I’ve also looked at the front-page.php file in the editor (in the main theme) and I see where the statements are for both the home page slider and mobile sliders. I just have no idea what to do with them.
Please note, I am an absolute beginner so as plain English as possible 🙂
In forum: Virtue ThemeIn reply to: Custon flexslider on home page
October 21, 2013 at 8:15 am #1033It’s not really possible with the theme options but if you make a child theme and copy the font-page.php you will be able to make the changes pretty easily to the beginning of the front page.
There is an if mobile statement right at the beginning that you could clear whats in there and add your slider shortcodes.
Just curious do you not like the revolution slider? I can’t image you can’t make a similar slider using it.
Ben
In forum: Virtue ThemeTopic: Support for https
October 3, 2013 at 1:13 pm #733Dear Ben,
I am facing a small problem working with “https://”.
There are several parts of the theme where the calls are made with “http://”.
Reflecting on several pages, my ssl seal informs that content “unsafe” is displayed, and in the contact page, the map simply does not appear.
I even managed to settle in some parts with child theme, but there are others, such as calls to the google fonts, I have not found how to solve.
Can you please evaluate the possibility to adjust this in a future update?
Thanks and sorry for bad english.
In forum: Virtue ThemeIn reply to: Setup Virtue2 – Import?
October 1, 2013 at 3:24 pm #718Hey,
1. Yes if you import the demo content you can choose citrus and get the layout.
2. The easiest is to activate the theme long enough to install the slider then jump back to your child theme.Ben
In forum: Virtue ThemeIn reply to: Setup Virtue2 – Import?
Tks for the reply Ben, I should be ok with that setup
1/ If I import the demo content, can I still choose citrus.css and get the same layout?
2/ My required plugins installer is looking for revslider.zip in the child theme folder path and can’t find it. I see it in the main theme folder, should I change to the main theme, install and change back to the child theme again? or should I create the child theme path ..lib/plugins/ and put the zip file in it? (error – Downloading install package from …./wp-content/themes/virtue_child/lib/plugins/revslider.zip… Download failed. A valid URL was not provided) I have searched the forum, can’t find mention of the above. -
AuthorSearch Results


