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'

Home / Forums / Search / Search Results for 'child theme'

Viewing 20 results - 5,821 through 5,840 (of 6,404 total)
  • Author
    Search Results
  • #24128

    Hi,

    I am trying to install Article Directory Redux Plug-in:

    I am following the instruction guides at the link above.

    However, I when I do Point 7 “Add the following code in the header.php file before the </head> tag:”, I get the following error on my page “CKing Article Directory”. My website link is ckingsensors.com

    Parse error: syntax error, unexpected ‘<‘ in /home3/cking/public_html/wp-content/themes/virtue_vendor_child/header.php on line 3

    The original header.php file of Virtue Premium has only the following two lines and I just copy and past the code give in point 7 of the plugin installation guide.

    <?php
    /* empty */

    In Point 7, it is mentioned “BEFORE the </head> tag but I don’t see any such tag in the original header.php file of Virtue Premium.

    Any help would greatly be appreciated.

    Thanks.

    In forum: Virtue Theme

    In reply to: Adapting themes

    #24069

    No it can’t. There is a lot more then just some css rules making the theme responsive.

    I strongly suggest you work with a responsive format. But if you want to hack away your welcome to. You’ll need a child theme and you’ll need to remove <meta name="viewport" content="width=device-width, initial-scale=1.0"> from the header.

    That would only be the start though, and this just isn’t supported.

    #24067

    Has to do with virtue always keeping the add to cart button visible. (which isn’t how woocommerce is set up).

    I found that only showing the add to cart after a selection has been chosen to be confusing. It’s one of the first things I did to (in my option) improve the product variation experience.

    The plugin your using hinges on the default, which is that the entire box where the add to cart is is hidden.

    So if you want to use a child theme I can provide the code changes that would be needed to force the default woocommerce system with the virtue theme, or if I had a copy of the plugin I may be able to just add a javascript that would trigger a display:block for the stock notice.

    Ben

    #23975

    As stated above, use a child theme, included the css and files for the font. You need to add the font as a fontface then you can use the css I posted above to make it appear on the site.

    If you don’t want to use a child theme you can use the theme options > advanced settings css you will just have to have the absolute url for the fonts when you upload to your site.

    Ben

    In forum: Virtue Theme

    In reply to: Messy virtue.css?

    #23801

    Hey,
    This isn’t a good idea for a number of reasons. The main being that your virtue.css file will be overridden which each update from the theme. Meaning that all your changes will be broken.

    The better route is to use a child theme, and then only add css that you want to override in the theme. SO for example if the theme css is

    .widget {
    margin-top: 30px;
    }

    and you want to change then you can just add:

    .widget {
    margin-top: 10px;
    }

    in your child theme and it will override the theme css… you can also use the custom css box in the theme options.

    If you are determined to hack into the theme then you can un-minify the css with a program like: http://unminify.com/

    Ben

    #23732

    Hi Hannah,
    Step 1 worked and removed the arrows but step 2 produces no results? I added to my child theme style.css

    #23707

    Ann, just for your interest. I needed to add the following to my child themes functions.php. Otherwise the shortcode turns up as it is on search results:

    /* 2014-11-27: Otherwise it prints [gallery ...] shortcode on search results page 
     * see http://themeforest.net/forums/thread/shortcodes-in-search-result/42977 */
    
    function remove_shortcode_from_search($content) {
      if ( is_search() ) {
        $content = strip_shortcodes( $content );
      }
      return $content;
    }
    add_filter('the_excerpt', 'remove_shortcode_from_search');

    If you do not have a child theme, please ignore this…

    #23582

    Send me an email and I’ll send you the child theme back. My email is [email protected]

    Ben

    #23542

    Hi Ben,

    Thanks for the info. Adding Woo Commerce is part of my plan once the website is up and running.
    I have already installed WC vendors to play and get familiar with. I will then upgrade to Product Vendors.

    I have also installed Child Theme Configurator plugin and created a child theme for Virtue Premium.

    Please kindly send me whatever I need to have to make this work with Virtue.

    Thanks a lot.

    #23503

    I know some users use this plugin: http://www.woothemes.com/products/product-vendors/

    If you decide to use let me know you have to use a child theme to make one of the pages work with virtue. I can send the child theme your way.

    Ben

    #23480

    If you don’t want to use a child theme you can upload the font files and use the custom css box to add the font and css to override. It’s still going to require that you add some css and understand how a web font works.

    Ben

    #23478

    Yes! It worked! I just tested it in the home page and works fine! See it at http://wipgbdesign.com/muzika/
    Many thanks again Ben. As usual Virtue Support Team Rocks!
    ps: The only thing I have not been able to do is installing a non Google font for the Nav. You told me to use a child theme, but to be honest, I don’t know how to do it. I will think about it and try and try and try. Thanks any ways! You people Rock!!!!

    #23443

    Hey Jalinous.
    With the theme you have to use a title or a logo. It’s not set up for both. Using the tagline as your title can work but it will always be below your logo.

    You can add the site title to your logo image and place it where you like or use a child theme and override the header template file adding in a call for the site title above the logo.

    Ben

    #23392

    Hey,
    In this case you need to use a child theme. add your web font files (http://www.fontsquirrel.com/tools/webfont-generator) and css in the child theme with the !important tag.

    So to replace the h1 font you would use:

    h1 {
    font-family: newfont !important;
    }

    Ben

    In forum: Virtue Theme
    #23226

    unfortunately, it didn’t work. I’ve got something wrong. The styles all vanished when I put them in style.css in the child theme and removed them from the theme settings.

    In forum: Virtue Theme
    #23218

    Yes you can place into the child theme css.

    Ben

    In forum: Virtue Theme

    In reply to: Testimonial Form

    #23215

    Hey,
    The testimonials are not design to work as a review section. It’s more set up for posting company testimonials for your services not reviews for a product like woocommerce product reviews.

    If you want to remove the testimonials custom post type options in the wordpress admin you can use this function in a child theme functions file.

    remove_action( 'init', 'testimonial_post_init' );

    Ben

    In forum: Virtue Theme
    #23210

    Ah thanks Ben. That’s fantastic.
    As a matter of interest, my css in the theme advanced settings is getting a bit full now. Can I put it all into virtue_premium-child/style.css?

    Thanks again

    Andrew

    In forum: Virtue Theme
    #22965

    Unfortunately that is how woocommerce is set up. The short description (which is your excerpt) is displayed above the add to cart. And the main content is in the description box.

    Changing that set up would require that you make a child theme and override woocommerce templates. If you do a search you may find some tutorials about it but it will require coding knowledge.

    Ben

    In forum: Virtue Theme

    In reply to: Top Bar

    #22959

    Hey,
    This isn’t really a built in option. Aside from editing the theme templates. (which for that I recommend a child theme). You can add this css in the theme options > advanced settings:

    #nav-second:before {
    content: 'This is the qoute';
    font-size: 28px;
    text-align: center;
    width: 100%;
    margin: 10px 0;
    display: block;
    line-height: 30px;
    }
    

    Ben

Viewing 20 results - 5,821 through 5,840 (of 6,404 total)