Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #5061

    hi, i really love this theme and am so grateful for its ease of you. i would really appreciate your help with a format alteration.

    I love the simplicity of the full-width pages in the theme, for instance in the portfolio, and i want to make my blog look as clean — I want it to have no sidebars and to have big images. any pointers on how to do that?

    i would also like the main page of the blog to show all images full-sized instead of a slim section of the image — so that people don’t have to click on each individual blog post but can instead see everything in the blog by simply scrolling down.

    thank you for your help!

    – courtney

    mothdrawn.com

    #48689

    Hey,

    Open up template-blog.php and delete:

    <?php

    //get the sidebar
    $avia_config['currently_viewing'] = 'blog';
    get_sidebar();

    ?>

    Then replace:

    get_template_part( 'includes/loop', avia_get_option('blog_layout') );

    with:

    $avia_config['size'] = 'featured';
    get_template_part( 'includes/loop', avia_get_option('blog_layout') );

    and:

    <div class='template-blog template-fullwidth content'>

    with:

    <div class='template-blog content'>

    #48690

    thanks!

    i see that this fixes turned the blog into full-width. i would still like the pictures/slideshow to be fully viewable on the main blog page (as large they are viewed on the individual post page) instead of just a slice of the picture. how would i do this?

    thanks again,

    courtney

    mothdrawn.com

    #48691

    hi.

    i don’t think i’m being clear enough in my hopes for how i can fix the blog format. i’m not terribly web-savvy so bear with me.

    i want the main blog page (and its individual post, too) to show images that are 800×530 instead of a smaller slice of the image. then when the image is clicked on, it can still lightbox to the full-sized image, but i want the viewer to not have to click on the image to see the full composition — i want the viewer to simply be able to scroll down the blog and see the complete large-sized image and slideshows.

    what code would i alter to change that?

    thanks!

    courtney

    #48692

    Forgot to mention something :)

    Open up includes/loop-index.php and replace:

    echo $slider->display_small('page');

    with:

    if($avia_config['currently_viewing'] == 'blog'){
    echo $slider->display_small($avia_config['size']);
    }else{
    echo $slider->display_small('page');
    }

    #48693

    hi,

    i wish i could say that tweak did it, but the images are still small slices instead of whole compositions. i’m wondering if it has something to do with the code above saying display_small a bunch of times. maybe one of those is supposed to be display_large?

    thanks! sorry this is tedious!

    courtney

    #48694

    I think the problem is that the variable:

    $avia_config['currently_viewing'] = 'blog';

    is set after the slider code. However I need it because I don’t want to affect the single view. Try to replace following code in template-blog.php

    $avia_config['size'] = 'featured';
    get_template_part( 'includes/loop', avia_get_option('blog_layout') );

    with:

    $avia_config['size'] = 'featured';
    $avia_config['currently_viewing'] = 'blog';
    get_template_part( 'includes/loop', avia_get_option('blog_layout') );

    #48695

    Yes! So much better! It looks so much nicer for what I’m trying to do. Thank you.

    1. So now that the image is nice and large when I click on the heading ‘blog’, how can I have this image be as large in the blog post’s single view AND in the blog preview that’s on the main page? (right now it’s still a two-column blog on the main page with a slice of the image.)

    2. The images in the blog are wonderfully large, but they’re still not showing the whole composition of the photo — they’re still a little too squat. How do I make them a little closer to the 800×530 image size I’m importing?

    Thank you!

    #48696

    Hi,

    Could you please respond to my questions so I can continue with the website layout work? I know it’s tedious, but really the intent of the question is small, just to get large, full-length images on my blog. Thank you so much.

    #48697

    1) You need to the same modification(s) we did in template-blog.php for index.php.

    2) That’s the standard thumbnail generation behaviour. WordPress will crop images if they’re too big. We can’t change it.

    #48698

    hi,

    i think it looks better now with those fixes. thank you for your help!

    #48699

    Glad that I could help you :)

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘change blog format’ is closed to new replies.