Forum Replies Created

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
  • in reply to: Blog page template #133492
     ghodson
    Participant
    Not marked as solution
    in reply to: Blog has gone blank #84194
     ghodson
    Participant

    I am getting complete white page. Make sure you are not seeing a cached version. See screenshot.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Featured Image for link-content #83840
     ghodson
    Participant

    Thanks, that did the trick.

    in reply to: Featured Image for link-content #83496
     ghodson
    Participant

    Go to LSSBEI.com/blog and you will notice I have just posted a link to a newspaper article. On that page (being the blog masonry) I want to show the featured image associated with that post, and for that image to link to the link (not to the single post page)

    in reply to: Page title area responsive image #75344
     ghodson
    Participant
    This reply has been set as private.
    in reply to: Page title area responsive image #75331
     ghodson
    Participant

    I’ve just noticed that this fix won’t work because it places the image on other pages, when it should only be on the blog archive page.

    in reply to: Page title area responsive image #74821
     ghodson
    Participant
    This reply has been set as private.
    in reply to: Page title area responsive image #71333
     ghodson
    Participant
    This reply has been set as private.
    in reply to: Page title area responsive image #70244
     ghodson
    Participant

    Thanks the only problem with this is that the container has no height if padding is removed. I.e you can only see a thin strip about 40px. I want to show around 300px in height and have it resize to about 150px on mobile if you get what I mean.

    in reply to: Page title area responsive image #69820
     ghodson
    Participant
    This reply has been set as private.
    in reply to: Defer iframes for videos and embeds #69817
     ghodson
    Participant

    Thanks, this worked great. I took screenshots of what was there and just used them as thumbnails. I then made sure that I selected it not to show the feature image on the post page.

    in reply to: Defer iframes for videos and embeds #69268
     ghodson
    Participant

    Does the thumbnail option require modification to template?

    in reply to: Defer iframes for videos and embeds #69262
     ghodson
    Participant

    What would you recommend? My main concern is the site loading time which is around 13 secs. I need to get down to at least 6 secs.

    in reply to: Defer iframes for videos and embeds #68510
     ghodson
    Participant

    Is it not as simple as changing the html to eg. <iframe width=”560″ height=”315″ src=”” data-src=”//www.youtube.com/embed/OMOVFvcNfvE” frameborder=”0″ allowfullscreen></iframe>

    Removing src=”” and replacing with data-src=””

    and then adding the script to the bottom of the page.

    <script>
    function init() {
    var vidDefer = document.getElementsByTagName(‘iframe’);
    for (var i=0; i<vidDefer.length; i++) {
    if(vidDefer[i].getAttribute(‘data-src’)) {
    vidDefer[i].setAttribute(‘src’,vidDefer[i].getAttribute(‘data-src’));
    } } }
    window.onload = init;
    </script>

    I just need to know what tempaltes to modify?

    in reply to: Defer iframes for videos and embeds #68326
     ghodson
    Participant
    This reply has been set as private.
    in reply to: Defer iframes for videos and embeds #67900
     ghodson
    Participant

    Tried that already, didn’t work.
    I think it might have something to do with being src rather than data-src. It’s not just YouTube either. I am also embedding Soundcloud and using video option in Post to be able to show image.

Viewing 16 posts - 1 through 16 (of 16 total)

Log in with your credentials

Forgot your details?