Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #216636

    Hello there! I have painstakingly gone through to add a featured image to all of my blog posts (back to 2006). However I can’t get them all done. I have several questions if you can help in Enfold theme (which is awesome-tastic by the way)

    NOTE: I use a child theme and would love to make these changes in Quick CSS if possible:

    1. Can i replace the current default image (white with an arrow) with my own image when NO feature photo has been selected? I want the site to look cleaner and branded.
    2. Can I turn off the lightbox or click on image to increase it’s size? This is only for FEATURE image ( I have disabled other photos from reading posts here).
    3. How can I have the featured photo underneath the header? So it would be
    Header Title
    Date / category / author
    Featured Image

    Thank you in advance! http://planningforever.com/blog

    #216702

    Hi saundra!

    1.) Are you talking about the image placeholder? You can edit config-templatebuilder > avia-shortcodes > postslider.php, find this code on line 305:

    $thumbnail = "<span class=' fallback-post-type-icon' ".av_icon_string($format)."></span><span class='slider-fallback-image'>{{thumbnail}}</span>";

    2.) Edit js > avia.js, find this code on line 54:

     //activates the prettyphoto lightbox
            $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});

    Replace it with:

     //activates the prettyphoto lightbox
            //$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});

    3.) This is possible but it won’t look as good as the original layout. Edit postslider.php again, find this code on line 366:

    $output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";

    Cut it then place it below this code on line 388:

    $markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false));

    Cheers!
    Ismael

    #216708

    I guess I wasn’t clear. I actually want to change out the image placecard holder with a graphic that will be used every time this needs a place card holder. Does that makes sense?

    #216824

    Hi!

    The placeholder used on the blog is not an image. It is an icon font. You need to alter the code and add the img tag. http://www.w3schools.com/tags/tag_img.asp

    Best regards,
    Ismael

    #217068

    Okay, well thanks for your help Ismael! I won’t change anything because I don’t want to mess with hard coding and updates. I finally got on board with Child Themes for that purpose.

    —-> Lazy. lol

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘featured image default photo’ is closed to new replies.