Jump to content


Photo
- - - - -

Blog Page IMAGE


  • Please log in to reply
22 replies to this topic

#1 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 05:06 PM

Hello I was playing around with the CSS on my blog page. I want the post layout to look like this one.

Please Login or Register to see this Hidden Content

Mine looks very similar but there is one thing I need to change, the image size. I was playing around with the CSS but there are no changes. I think this is because it is pulling a thumbnail size. Can I change this with CSS or is it something with the html or php that would be harder to (for me at least) to change? Thanks! My blog page:

Please Login or Register to see this Hidden Content



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 March 2012 - 05:27 PM

Please add the following CSS to Custom Code > Custom CSS in your PageLines Settings and change the #px value to the pixel width you want for your thumbnail image:

Please Login or Register to see this Hidden Content



#3 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 05:34 PM

That code doesn't change it

#4 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 05:40 PM

Well, it does change it when I make it smaller, but not to make it bigger.

#5 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 March 2012 - 05:52 PM

Hm, perhaps CSS isn't the right approach with this. I searched for a solution that doesn't require CSS and found this tutorial:

Please Login or Register to see this Hidden Content



#6 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 06:29 PM

can i just input this in Custom CSS where it reads "Header Scripts?" Is there a way I can input this while using wordpress or do I update the php file and upload it onto my server again?

#7 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 06:31 PM

Please Login or Register to see this Hidden Content


doesnt work

#8 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 06:51 PM

I tried to make the changes necessary and now my site doesn't work and I can't open functions.php to change it back.

#9 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 07:28 PM

And no response. Thanks a lot for the help. Not.

#10 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 March 2012 - 07:51 PM

I just looked at your site and found this: Fatal error: Call to undefined function the_post_thumbnail() in /home/content/94/7276594/html/wp-content/themes/pagelines/functions.php on line 23 Did you make a change to the functions.php? That one in the error is a core file and should not be modified.

#11 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 March 2012 - 07:58 PM

This site:

Please Login or Register to see this Hidden Content

you noted is actually three years old and any code you may find there may not work in PageLines as we're not a theme, but a framework. Adding any code from that site to your functions.php or header section can and likely will break your site. Please be patient as we attempt to assist. If you can undo whatever you may have edited, that would help considerably.

#12 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 08:03 PM

Yes, I did make a change to that file because I was trying to resize the blogroll thumbnail. We tried CSS, but that doesn't help if one wants to make the thumbnail larger. We then tried Catrina's suggestion to make changes to the function.php as outlined in this tutorial

Please Login or Register to see this Hidden Content

. However, considering the outcome, we must have jumbled things up a bit. Is there an effective way to change the thumbnails on the blog page? We want a look similar to this one.

Please Login or Register to see this Hidden Content



#13 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 March 2012 - 08:07 PM

I apologize for that. The tutorial dates to a time prior to WordPress implementing feature images as a standard. I saw the site you're trying to emulate. It is possible to achieve this and I'm not sure if Catrina used the wrong selector. Is your site back now?

#14 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 08:24 PM

No, I won't be able replace my functions.php file until I get home and can use filezilla. Is there a way I can update my function.php just on wordpress? I've been looking everywhere and I can't find another way to get it back. Everytime I click on the functions.php in the wordpress editor I keep getting the fatal error

#15 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 March 2012 - 09:28 PM

Unfortunately, not without overwriting and reinstalling PageLines.

#16 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 10:57 PM

Ok, I have it running now. How should I go about resizing my blog thumbnail?

#17 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 March 2012 - 11:23 PM

Okay, the reason Catrina's CSS didn't work is that WordPress creates a thumbnail size image. If you have Firebug for Firefox, and inspect the image you'll see:

Please Login or Register to see this Hidden Content

The image is fixed to 150 and CSS won't increase the size.

If you look inside your images folders, you'll see that when you upload an image, WordPress creates several sizes. Unfortunately, the developer who I need to help me with this part of the problem is in Europe and I can't get to him to ask about the proper way to reselect the size. I'm sorry, but I think we'll have to wait till tomorrow to get his reply.

#18 emckenna730

emckenna730

    Advanced Member

  • Members
  • 49 posts

Posted 02 March 2012 - 11:28 PM

ok, thank you. Keep me updated on what you find out.

#19 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 March 2012 - 11:29 PM

Will do! I have the topic bookmarked.

#20 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 March 2012 - 11:32 PM

Actually, one of my colleages, Jenny, just pointed me to this, which answers this issue:

Please Login or Register to see this Hidden Content