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 - 6,181 through 6,200 (of 6,404 total)
  • Author
    Search Results
  • In forum: Virtue Theme

    In reply to: Print-page problems

    #8378

    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 Theme

    In reply to: Forums Plugin

    #8091

    This 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 Theme
    #8073

    Does it work to use the .po file in a child theme?
    I made a fiew corrections on it and put it in my child theme, but it doesn’t use it.

    In forum: Virtue Theme
    #8065

    Hey,
    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

    #8063

    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!

    #8058

    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?

    #7732

    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
    Kav

    #7655

    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
    Kav

    #7605

    1 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

    #7536

    Brilliant, and I like the fact this sits in a child theme as well. Worked like a charm!

    #7515

    Hey 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 Theme
    #7474

    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 –
    Pat

    In forum: Virtue Theme
    #7403

    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…

    How do I target this in css?

    #7362

    hmm 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

    #7336

    Add 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 Theme
    #7180

    So 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 Theme
    #7176

    Okay, but this I can’t do in my child theme right?
    Or can I deactivate the lightox / magnific pop up for images in pages/articles?

    In forum: Virtue Theme
    #7137

    By 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/#scrollspy

    Ben

    #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.php

    remove lines 57-72
    replace with :
    <?php get_template_part('templates/entry', 'meta-subhead'); ?>

    Ben

    #7123

    Hey 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

Viewing 20 results - 6,181 through 6,200 (of 6,404 total)