changing the image size of an widget

Community Forums Forums Design Tips and Tricks changing the image size of an widget

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  john gronley 7 months, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #59160

    john gronley
    Participant
    Post count: 124

    Hello;

    I am tinkering with my test site to tweak the Crystal theme for a customer http://johnstestsite.org/, but the bottom widgets aren’t the prettiest. I would like to change them to the images as seen in the Corporate theme http://demo.studiopress.com/corporate/ The home-middle featured page. I like the alignment of the picture, its width and the way the font aligns below it. Is there a way I can change Crystal? I know that the genesis featured page will not give me the option for the image size of 270×100 px.

    Any ideas?

    Thanks,

    John

    http://johnstestsite.org/
    #59166

    braddalton
    Participant
    Post count: 7470

    You can add more images sizes in your child themes functions.php file:

    // Add new image sizes
    add_image_size( 'featured-page', 270, 100, TRUE );
    

    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #59168

    john gronley
    Participant
    Post count: 124

    Great Thanks Brad, just add this anywhere in the functions php? I experimented with using an image widget and it came out OK but I will use the code above when I get started on the project. Also you once told me how to get two image widgets to go side by side instead of on top of each other, here is the code you gave me but I forgot where I am supposed to put it? I need to add a QR code to the left of the social media widget in the header.

    package_gear_128 shield_128

    Thanks,

    John

    • This reply was modified 7 months, 4 weeks ago by  john gronley.
    • This reply was modified 7 months, 4 weeks ago by  john gronley.
    • This reply was modified 7 months, 4 weeks ago by  john gronley.
    • This reply was modified 7 months, 4 weeks ago by  john gronley.
    • This reply was modified 7 months, 4 weeks ago by  john gronley.
    • This reply was modified 7 months, 4 weeks ago by  john gronley.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.