Portfolio, crop images ?

Writer, blogging theme for writers and authors | Support forum.
GK User
Fri Jan 02, 2015 1:42 pm
Hi guys,

another question to your beautiful WRITER theme.

Is it possible the show the pictures cropped in the overview ?
I would like to avoid different sizes (horizontal, vertical) on my default page.

If the image is opened in the popup, then the orientation doesn't matter for me, only in the overview.

http://www.perfectmoment.de/wordpress_pm_dk/


Thanks
Darius
User avatar
Fresh Boarder

GK User
Fri Jan 02, 2015 2:24 pm
Hi,
This image size is used by default:
add_image_size( 'portfolio-thumb', 500, 380, true );
http://codex.wordpress.org/Function_Ref ... image_size
You can change it in functions.php file or use a filter (writer_portfolio_thumb_size) if you are using child theme.

Please remember that after this change you'll have to regenerate your thumbnails, using i.e. this plugin:
https://wordpress.org/plugins/regenerate-thumbnails/

Please remember to use the bigger images as your featured image to allow proper cropping.
User avatar
Moderator

GK User
Mon Jan 05, 2015 4:11 pm
It works, great !!! :D

Maybe you can tell me if it is possible to remove the logo (the head-symbol) ?

Thank you very much.
Darek ;)
User avatar
Fresh Boarder

GK User
Wed Jan 07, 2015 11:39 am
der_marv wrote:Maybe you can tell me if it is possible to remove the logo (the head-symbol) ?


I can't see the logo on your webiste? Could you please take a screenshot or give me more details?
User avatar
Moderator

GK User
Wed Jan 07, 2015 1:03 pm
Piotr Kunicki wrote:
der_marv wrote:Maybe you can tell me if it is possible to remove the logo (the head-symbol) ?


I can't see the logo on your webiste? Could you please take a screenshot or give me more details?



Hi Piotr,

sorry, I wanted to delete my question this morning, because I fixed it already, but I forgot to.
Maybe interesting for other users ...
I changed the display tag in the style.css from block to none.

#avatar-logo img,
.gk-logo img {
display: none;
height: auto;
max-width: 75px;
}



Thanks
Darek
User avatar
Fresh Boarder


cron