a. Open “functions.php” file from the theme folder and search for this line of code:

<div id="shownPortfolioMeta">

Now, remove all the code starting from that line down to its closing ”” tag. The closing ”” tag you can find just above this line of code:

<div></div>

b. Next, search for this line of code :

<div id="shownPortfolio">

And replace it with this one:

<div id="shownPortfolio" class="">

c. Now, search for this line of code:

src='$src[0]' alt='$alt' width='700'

And replace it with this one:

src='$src[0]' alt='$alt' width='940'

d. And then, search for this one:

<?php $aspectHeight =  calculate_image_height($img_size['0'], $img_size['1'], 700); ?>

And then replace it with this one:

<?php $aspectHeight =  calculate_image_height($img_size['0'], $img_size['1'], 940); ?>

e. Lastly, search for this line of code:

<img src="<?php echo $image_pf; ?>" width="700" height="<?php echo $aspectHeight; ?>" alt="<?php echo get_the_title ($post_id); ?>" />

And replace it with this one:

<img src="<?php echo $image_pf; ?>" width="940" height="<?php echo $aspectHeight; ?>" alt="<?php echo get_the_title ($post_id); ?>" />
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)