Jump to content
Sign in to follow this  
kowski

Change Picture size of the blog layout mode on the front page

Recommended Posts

kowski

Is there a possibilty to change the picture size of the pictures shown on the front page of the small preview of the posted articles ? and can I change the size of the headers ? thx for your awesome help !

Share this post


Link to post
Share on other sites
catrina

It's possible, but the thumbnails will remain square. You can use Firebug (http://getfirebug.com/) to find the class for the thumbnail and use CSS to change its size (i.e.

img.thumbnailclasshere {width: YOURWIDTHHEREpx;}

) Also, which headers are you referring to? The size of the post titles on the post page?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
kowski

yes exactly. I want to customize the size of the post pages and the whole look of the previews of the posts on the ront page. just have a look http://nomoremindgames.de/

Share this post


Link to post
Share on other sites
catrina

To change the size of post titles, you can use this CSS code:

h2.entry-title {size: 15px;}
^ Replace 15 with the size you want. For thumbnail images, this can be used:
img.attachment-thumbnail {width: #px;}

^ Replace # with the size you want. Add these pieces of code to the custom CSS area in your settings.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
kowski

unfortunately this doesn't work propely, because it only changes the length of the pictures, whch looks terrible. http://imgur.com/1kHIK.png I want the preview of the posts look like this here: http://www.ignant.de/ any way to achieve this ? thanks for you absolutely awesome help !!!

Share this post


Link to post
Share on other sites
Kate

Hi Jakob, If you're going with Catrina's solution, then you could just add the height attribute. So, it would then become:

img.attachment-thumbnail {width:/*width here*/;height:/*height here*/;}

On a side note: are you running the latest version of PlatformPro? I know this image issue appeared a while ago, but was fixed in a subsequent release. So, please make sure you're running the latest version as well ;)

Share this post


Link to post
Share on other sites
kowski

the other thing is. when i only change the size of the pictures the whole preview layout gets messed up and I want it to be "on one line" as it used to be. could you please help me to ajust the text to the bigger picture ? thx a lot for your awesome help !!!

Share this post


Link to post
Share on other sites
kowski

and yes, I'm running the latest version. downloaded maybe 4 weeks ago.

Share this post


Link to post
Share on other sites
cmunns

I think it would be best here to modify the actual HTML of template.postloop.php. Copy the template.postloop.php to your Base child theme and we'll go from there.

Share this post


Link to post
Share on other sites
kowski

Shall I just copy the whole thing and paste it into the functions.php in the child theme ? thanks so much for your help !!!

Share this post


Link to post
Share on other sites
cmunns

copy the whole file and put in the root of the Base theme

Share this post


Link to post
Share on other sites
kowski

sorry to ask but which one of these do you mean with "root" ?: Custom Page Seitentemplate (page.base.php) Theme-Funktionen (functions.php) advanced.php (advanced.php) template.override.php (template.override.php) Stylesheets Stylesheet (style.css) base.css (base.css)

Share this post


Link to post
Share on other sites
Kate

Hi Jakob, In your platformpro folder, copy the file called "template.postloop.php" to the "root" of the platformbase folder. In other words, by "root" Adam means don't put it in a subfolder of platformbase. It would go directly in the main level of the Base folder. Make sense? Once you do that, let us know, and we can help you with the rest of the code.

Share this post


Link to post
Share on other sites
kowski

done. thanks for your help Kate

Share this post


Link to post
Share on other sites
dustinfaddis

I echo the thanks. I'm following these steps. Kate, Catrina, Adam, are the Best!

Share this post


Link to post
Share on other sites
cmunns

Okay now open the template.postloop file that you copied...and look for ` <?php the_post_thumbnail(array( 40, 40 ));?> ` change the number 40 to the pixel ratio you wnat.

Share this post


Link to post
Share on other sites
kowski

just changed to "blog mode" and this doesn't work anymore. Do I need to use another file to do this ?

Share this post


Link to post
Share on other sites
catrina

Jakob, what do you mean by "blog mode"? Are you referring to the blog layout mode instead of magazine mode?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
kowski

if i change the numbers to another number nothing happens

Share this post


Link to post
Share on other sites
kowski

karen, this was exactly what I was searching for and yes the plugin comes in very handy :) thank you so much for your help !!!!!!!

Share this post


Link to post
Share on other sites
kowski

just noticed a big problem. these changes in the thumbnail size apply to the gallery as well ... any way that these changes only appy to the pictures on the front page ?

Share this post


Link to post
Share on other sites
kowski

done as well :) One last question: Is there a possibility to to manipulate the "square" which shows the different previews of the blog posts on the frontpage ? So that there is not so much text shown and the spaces between the different posts are much smaller ? any way to customize this ? thank you so much

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×