• Hello,

    I know centering the image would be simple, but I can’t find the section or place in the css file to modify.

    Any advice?

    Thank you!

    Gaso

Viewing 1 replies (of 1 total)
  • Hi Gaso,
    I also would like that and I have found something in the functions file
    It says:

    * Display Featured Image
    */
    function gridz_featured_image($size = ‘full’, $link = true, $class = ‘entry-featured’) {
    if(has_post_thumbnail()) {
    $image = get_the_post_thumbnail(get_the_ID(),$size);
    if(trim($image) != “”) {
    if($link) echo ‘<div class=”‘.$class.'”>‘.$image.’</div>’;
    else echo ‘<div class=”‘.$class.'”>’.$image.'</div>’;
    }
    }
    }

    I am no PHP expert, but I guess it should be done here.

    If you are familiar with php, let me know

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Center featured image’ is closed to new replies.