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 - 1 through 15 (of 9,472 total)
  • Author
    Replies
  • in reply to: Featured Images sizing in Post-Grid #26292
    Jason Bobich
    Keymaster

    Hi,

    #1: So you’re saying you don’t want your images cropped at all in post grids? There’s no feature for this, and so this would be a customization you’d need to make from a child theme (you’ll need to have one activated obviously).

    Just copy content-grid.php to your child theme and change this part:

    <?php themeblvd_the_post_thumbnail( themeblvd_get_att( 'location' ), themeblvd_get_att( 'size' ) ); ?>

    To this:

    <?php themeblvd_the_post_thumbnail( themeblvd_get_att( 'location' ), 'full' ); ?>

    #2: Your slider will look much better if you use the crop sizes specified by the theme for that, laid out on the Alyeska Item Details page on ThemeForest.

    Slider Full Width – 940×350 (hard crop)
    Slider Staged Left/Right – 530×312 (hard crop)

    You’re selecting to have your images staged left and right

    If you really want to change the crop sizes, you can use this plugin:

    https://wordpress.org/plugins/theme-blvd-image-sizes/

    More info about crop sizes:

    http://dev.themeblvd.com/tutorial/crop-sizes/

    #3: The staged slide will look much if you add a title and description also, so it’s not just a lone button. Any other changes in the placement in elements would be CSS customizations you’d need to make.

    #4: In all honesty, I’m not sure what specifically you’re referring to, but I have a feeling the answer will essentially be the same, being that it will be a CSS customization you’d need to make. — 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.

    Jason Bobich
    Keymaster

    Hi Lewis,

    Unfortunately, there’s no feature in the theme for you to add this code through any kind of user option. So, this will be a customization you’ll need to make from your child theme.

    The simplest way would be probably just to hook to themeblvd_header_addon and it’ll get placed after the current HTML there. Then you’d just use CSS to put it where you want.

    http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

    Or if that doesn’t work, you’d need to have your code more precisely in with the social icons markup, you’d need to unhook the default alyeska_header_addon() function from themeblvd_header_addon action and hook your own new function in its place to reconstruct that entire area.

    You can see /includes/theme-functions.php of the theme, and check out what the default alyeska_header_addon() function looks like. You’d basically be recreating that from your own callback function, but with your code added in there exactly where you want.

    in reply to: Moving mobile nav to open from the left #26287
    Jason Bobich
    Keymaster

    That’s okay. I had to squint realllyyyy hard to see those letters flipped around.

    in reply to: Moving mobile nav to open from the left #26285
    Jason Bobich
    Keymaster

    Hi,

    It looks like there’s a typo in your code there. Your callback function is named cfhh_js_locals, but you’re passing in that chff_js_locals is the name of the callback.

    cfhh_ vs chff_

    in reply to: Best way to add to and/or customize pagination #26283
    Jason Bobich
    Keymaster

    When you’re trying to make edits like this you want to see exactly what you’re editing and look at the function of the theme you’re trying to manipulate. Trying to just guess is like driving a car with a blindfold – very difficult. 🙂

    So, if you were to search for function themeblvd_get_pagitation in the theme directory with a text editor, you’ll find right away where this function in the theme is and you can look at it. Next, you’ll see that this is a function which returns a string of the outputted HTML, which is filterable with themeblvd_pagination.

    There are a lot of ways you can accomplish your customization, but this would be your most basic setup:

    function my_pagination( $html ) {
        // Edit the $html string however you want ...
        return $html;
    }
    add_filter('themeblvd_pagination', 'my_pagination');

    Here’s how I would probably do your customization:

    function my_pagination( $html ) {
    
        global $wp_query;
        $total = $wp_query->max_num_pages;
    
        if ( ! $current_page = get_query_var('paged') ) {
            $current_page = 1;
        }
    
        // Add current page after <div class="pagination">
        $html = str_replace(
            '<div class="pagination">',
            '<div class="pagination"><span class="label">Page '.$current_page.' of '.$total.'</span>',
            $html
        );
    
        // Add search form in there after <div class="pagination-wrap">
        $html = str_replace(
            '<div class="pagination-wrap">',
            '<div class="pagination-wrap">'.get_search_form(false),
            $html
        );
    
        return $html;
    }
    add_filter('themeblvd_pagination', 'my_pagination');

    Note: When working with filters, the basic PHP function, str_replace() is a very, very handy one to understand in a lot of instances; I find myself using it a lot.

    http://php.net/manual/en/function.str-replace.php

    And this should get you started with CSS styling, with above example.

    .pagination-wrap {
      padding: 20px 0;
    }
    .pagination-wrap .tb-search {
      float: right;
    }
    .pagination-wrap .pagination {
      float: left;
      margin: 4px 0;
    }
    .pagination-wrap .pagination .label {
      color: #666;
    }
    in reply to: Featured Images on single pages link to themselves #26281
    Jason Bobich
    Keymaster

    Being up-to-date could actually help your issue, too, because you could set the featured images on the single pages to be full-width, which means it’s not possible for them to have a link.

    http://demoblvd.com/themes/jumpstart-2/demo-1/practical-examples/full-width-featured/

    in reply to: Featured Images on single pages link to themselves #26280
    Jason Bobich
    Keymaster

    Aw, yeah, that’s old and no longer exists. You’re a bit behind on your version of the theme.

    http://themeblvd.com/changelog/?theme=jumpstart

    in reply to: Featured Images on single pages link to themselves #26278
    Jason Bobich
    Keymaster

    By the way, where are you finding this?

    article.page>.featured-item {
        margin: -30px -30px 30px -30px;
    }

    … I’ve searched the entire theme directory and can’t find it anywhere in any CSS file?

    in reply to: Featured Images on single pages link to themselves #26277
    Jason Bobich
    Keymaster

    So on all these pages, they could be set in individually two ways:

    1. Set to not have a link from Edit Page and thus take on FILO plugin’s settings.

    2. Set manually from Edit Page to link to post/page and for single post to not inherit that link.

    Which way are you doing it? Have you tried both ways?

    in reply to: Best way to add to and/or customize pagination #26275
    Jason Bobich
    Keymaster

    Hi Lindsay,

    I can help you with this but can you first try to explain what you’re looking to customize about breadcrumbs, other than just adding the search form?

    in reply to: Featured Images on single pages link to themselves #26274
    Jason Bobich
    Keymaster

    The FILO plugin is a big time hack to put automated featured image links into this theme and many others with different framework versions. So if it doesn’t work in every situation I’m not really going to stress over that.

    The big question is though, if you disable FILO plugin, are any of these options in the theme not working properly as you’re describing?

    in reply to: Redirects #26269
    Jason Bobich
    Keymaster

    Ok, I can see why it’s happenning. I’ve got it fixed for the next update. Here’s what I’ve changed:

    in reply to: Redirects #26267
    Jason Bobich
    Keymaster

    Hi,

    Can you show me a screenshot of your Edit Page screen so I can see exactly what you’re doing?

    in reply to: promo box button = Phone call #26265
    Jason Bobich
    Keymaster

    Hello,

    Most smartphones automatically text a text string on a website that looks like a phone number and make it into a clickable link.

    For example, look at the live demo on both your computer and your mobile phone:

    http://demoblvd.com/themes/akita/

    In the theme options for the header text, I’ve just written the plain text string:

    Call Now: 1-800-123-4567
    in reply to: Gallery Issue #26260
    Jason Bobich
    Keymaster

    Hi,

    Apologies I’m not quite sure on that one. This would be just a general WordPress question though. The theme doesn’t alter the admin functionality of adding or or editing galleries in any way. You can tey temporarily switching to a default WordPress theme to verify, for sure.

    Personally, I’d just insert a new gallery, but I’m sure if you post in wordpress.org you can get more help on editing galleries in WordPress.

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