This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Jason Bobich

Forum Replies Created

Viewing 15 replies - 46 through 60 (of 9,472 total)
  • Author
    Replies
  • in reply to: Dequeuing styles #26184
    Jason Bobich
    Keymaster

    Hi,

    There are several different ways to accomplish this.


    Option 1: Here’s one way you can do it with just one line in your functions.php, and using the framework:

    themeblvd_remove_stylesheet('owl_carousel');

    Option 2: Or, I’m assuming you also want to de-enqueue the JS file as, well. This can be done by filtering the framework’s global config.

    function my_global_config( $config ) {
        $config['assets']['owl_carousel'] = false;
        return $config;
    }
    add_filter('themeblvd_global_config', 'my_global_config');

    Now, the CSS and JS file won’t be included. — And chances are if you’re going to the extent to do this, there’s probably other assets you want to not include, as well. You can find where this filter is applied at /framework/includes/general.php and extend this method.

    function my_global_config( $config ) {
    
        $config['assets']['flexslider'] = false;
        $config['assets']['isotope'] = false;
        $config['assets']['owl_carousel'] = false;
        // etc...
    
        return $config;
    }
    add_filter('themeblvd_global_config', 'my_global_config');

    http://dev.themeblvd.com/tutorial/removing-framework-scripts/


    Option 3: And if you’re looking to do it in the more traditional way, you should (1) hook to wp_enqueue_scripts (wp_print_styles is deprecated and wp_enqueue_scripts hook is now meant to be used for all CSS and JS files), (2) use wp_deregister_style() and (3) make sure you’re using the correct handle.

    On the third point, if you see this printed in your site:

    <link rel='stylesheet' id='owl-carousel-css'  href='http://yoursite.com/wp-content/themes/jumpstart/framework/assets/plugins/owl-carousel/owl.carousel.min.css?ver=2.0.0-beta.2.4' type='text/css' media='all' />

    The registered handle with WordPress will be that HTML ID minus the “-css” at the end. So, that’s how you would know to do this:

    function my_dequeue_scripts() {
    	wp_deregister_style('owl-carousel');
    	wp_deregister_script('owl-carousel');
    }
    add_action('wp_enqueue_scripts', 'my_dequeue_scripts');
    in reply to: Template as Contents of Builder Element #26182
    Jason Bobich
    Keymaster

    Hi,

    Apologies, but there is no feature for this. However, I understand the basic need you’re trying to fulfill and has been on my mind for quite awhile, actually.

    https://github.com/themeblvd/theme-blvd-layout-builder/issues/12

    in reply to: Will Archive of My Support Topics Remain? #26181
    Jason Bobich
    Keymaster

    I’m not sure how long I will leave it up for, but it won’t be here forever. I’d try to get any information you need in preparation for it to be gone.

    Over time, I will be adding articles and FAQ’s based on my experiences with support to new docs.themeblvd.com (for users), that was created last weekend. And I will also continue to grow dev.themeblvd.com and make it better.

    Jason Bobich
    Keymaster

    I just had a random idea about this and checked the source of your site, and can see you’re using a caching plugin for the frontend markup of your site. Is it possible after you updated the theme before and updated your Theme Options page, that you didn’t fully clear your cache afterwards? That could be an explanation for all of this, if that were the case.

    Jason Bobich
    Keymaster

    Also, this is probably a given, but you haven’t done anything in your child theme with functions that control the logo, right?

    And I didn’t see anything in the style.css you pasted that caught my attention to the issue, which makes me think there’s some simple answer to all this. What that is just yet, I don’t know. Need to see the issue. 😉

    Jason Bobich
    Keymaster

    I bet more than likely I can tell you the issue within minutes of seeing your site, but I need to be able to see the issue.

    You don’t need to mess around with a bunch of settings. Simply update the theme and make sure all three logo options are filled in and saved. Then link me to your site.

    I can tell you I’ve had about 5-6 people tell me the same thing you did originally and in all cases the issue was because they didn’t know there was a new logo option to fill. That solved it for all of them.

    in reply to: Theme_Blvd Mini Post List #26171
    Jason Bobich
    Keymaster

    So then you want to use the first method I described of working with content-mini-list.php.

    in reply to: Dark banner image #26169
    Jason Bobich
    Keymaster

    Hi Sarah,

    These images are styled this way so that the title of the page can display on top. But of course, you can always change anything like this through basic CSS customization.

    For CSS changes, it’s a good idea to use a tool like firebug or Google Chrome’s built-in developer tools to locate them and then put the edits either in your child theme‘s style.css or in the “Custom CSS” option on your theme options page.

    .epic-thumb.fw img {
      opacity: 1;
    }
    in reply to: Download error upgrading from 2.0.4 to 2.1.0 #26166
    Jason Bobich
    Keymaster

    Hi,

    Apologies for the confusion. This was caused by our recent move of wpjumpstart.com to a new server.

    To fix the issue, go to Appearance > Theme License in your WordPress admin, and delete your current licence key. Then, add it again and reactivate. This should establish fresh connection with our servers.

    Let me know if this does not work for you.

    Jason Bobich
    Keymaster

    Hi,

    Good question. I wrote a tutorial for it:

    http://dev.themeblvd.com/tutorial/epic-thumbnails/

    in reply to: Responsive side-nav: Hide after clicking menu item #26161
    Jason Bobich
    Keymaster

    So there’s no feature in the theme for what you’re wanting to do and would only be possible through your own javascript customizations. Look at /assets/js/theme.js of the theme, lines 118-169. You’d have to come up with javascript that performs this action, which is triggered upon clicking the menu items.

    But with that said, you may want to wait until the next version of Denali comes out, v1.1. I’ve simplified this immensely. After the next update you’ll simply need to target the <body> with your javascript and toggle between the CSS classes mobile-menu-right-on and mobile-menu-right-off.

    in reply to: Theme_Blvd Mini Post List #26160
    Jason Bobich
    Keymaster

    Hi,

    These classes are generated with the WordPress function post_class().

    https://codex.wordpress.org/Function_Reference/post_class

    If you copy content-mini-list.php, you’ll see there’s a $class variable at the top you can add to.

    Or, you can target it by filtering from your child theme’s functions.php.

    https://codex.wordpress.org/Function_Reference/post_class#Add_Classes_By_Filters

    in reply to: adding php do display right next to header logo #26150
    Jason Bobich
    Keymaster

    Where are you getting the CSS class “themeblvd_header_addon” from? When you’re trying to build a selector for making a CSS customization, you want to use your web browser’s inspector and look at the HTML markup. I can’t tell you what that is because I have no idea what you’ve added to your site at that action hook.

    in reply to: adding php do display right next to header logo #26148
    Jason Bobich
    Keymaster

    Any CSS you add will always go in your child theme style.css, no matter what area of the site you’re targeting.

    in reply to: Accordion toggles fail to expand #26146
    Jason Bobich
    Keymaster

    You figured it out! What was the issue?

Viewing 15 replies - 46 through 60 (of 9,472 total)