jhodgski

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • jhodgski
    Member

    No, I’m afraid it’s not online yet.

    in reply to: How to create video slider with HTML overlay? #5985
    jhodgski
    Member

    I’ve found the height is hard set to 600px in the Slider Settings screen, so I just need to change that. Thanks for your help.

    in reply to: How to create video slider with HTML overlay? #5965
    jhodgski
    Member

    Hiya,

    Yes, I’ve ended up using Revolution Slider and have it sorted now. Not too tricky once you’ve worked out what’s what!…

    Any idea, though, how I can get the full video to show? The video is 600px by 480px and currently the bottom part of the vid is getting trimmed off. I’ve tried all the settings in the “Video Size:” options but nothing seems to successfully get the whole vid to display.

    Cheers,
    James

    in reply to: How to create video slider with HTML overlay? #5906
    jhodgski
    Member

    No this is some development I am doing on my PC. It isn’t uploaded to the web yet.

    (Which URL were you referring to, by the way?)

    in reply to: How to detect home page in functions.php? #4581
    jhodgski
    Member

    Calling is_front_page() via the wp_head hook works fine.

    in reply to: SEVERE & URGENT: Where have all my settings gone? #4579
    jhodgski
    Member

    I’m not sure if this problem happened when I moved the site or when I deactivated/reactivated the Agile Child theme – maybe you could test the latter easily.

    I since been into the database and the problem seems to be that the index values in the options_tree data seem to have got changed somehow – maybe that was from deactivating/reactivating the theme?

    jhodgski
    Member

    That’s fixed it. Thanks.

    in reply to: testimonials slug? #4495
    jhodgski
    Member

    Solved. It’s a custom post type.

    in reply to: How to scroll down to an internal anchor? #4492
    jhodgski
    Member

    Thanks, but your code contained a couple of errors (white screen + 404).

    Correct code for functions.php is:

    /*
    * Load my script
    */
    function mo_enqueue_scripts() {
    wp_enqueue_script(‘my-custom-js’, get_stylesheet_directory_uri() . ‘/js/my-custom.js’, array(‘jquery’), false, true);
    }
    add_action(‘wp_enqueue_scripts’, ‘mo_enqueue_scripts’);

    Correct code for my-custom.js:

    jQuery(document).ready(function ($) {
    $(‘.smooth-scroll’).smoothScroll();
    });

    jhodgski
    Member

    I’m afraid the mouseover problem has returned… It possibly has something to do with me changing the slug of my Portfolio page from filterable-portfolio to portfolio?

    Anyway, the portfolio image on each Single Portfolio Item page now slides up again when you mouseover it.

    Can you advise. Thanks.

    in reply to: Portfolio Categories #4456
    jhodgski
    Member

    OK, thanks for confirming. I’ve taken the filter controls off then by using this code instead in my Portfolio Section…

    [show_post_snippets post_type=”portfolio” number_of_columns=”3″ post_count=”6″ image_size=”medium” display_text=”true” show_excerpt=”false” hide_thumbnail=”false”]

    Would you be able to bring in the functionality as described in the near future as it would be very nice to have the filter controls on the home page without my entire portfolio range being initially displayed?

    jhodgski
    Member

    In my Portfolio Section code, I changed image_size=”square” to image_size=”medium” and everything seems to display OK now. Can you confirm what the correct aspect ratio is though?

    The “Retain Image Height” option wasn’t ticked in Theme Options > Blog, but I’ve ticked it now and the images are now rendering nicely on the Single Portfolio Item pages – and that’s also fixed the mouseover problem.

    Thanks! 🙂

    in reply to: How to scroll down to an internal anchor? #4454
    jhodgski
    Member

    How do I implement that line of JS code in an upgrade-proof way though?

    in reply to: How to scroll down to an internal anchor? #4453
    jhodgski
    Member

    Cheers. I’ve looked at the other solution page, and I prefer this solution…

    <a class="smooth-scroll-link" href="#footer" rel="nofollow">Scroll smoothly to footer</a>

    …with the JS code being…

    $('.smooth-scroll-link').smoothScroll();

    …just in case that helps anyone.

    jhodgski
    Member

    Great stuff, thanks.

    By the way, I also added…

    #header {
        position: fixed;
    }

    …to stop the header scrolling off the page.

Viewing 15 posts - 1 through 15 (of 25 total)