Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22302

    Hello. (1) Regarding the blog layout, is it possible to put the title first and then the image below?

    (2) Is there any way to increase the thumbnail size of the latest news sidebar? Thanks.

    #115331

    Hi,

    The answer is Yes and Yes.

    First thing you should do is add the dynamic layout functionality to posts which is done by opening up /config-templatebuilder/avia-template-builder/config/meta.php: and finding lines 4-7 which look like

    $boxes = array(
    array( 'title' =>__('Avia Layout Builder','avia_builder'), 'id'=>'avia_builder', 'page'=>array('portfolio','page'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
    array( 'title' =>__('Layout','avia_builder'), 'id'=>'layout', 'page'=>array('portfolio', 'page' , 'post'), 'context'=>'side', 'priority'=>'low'),
    );

    and replacing those line with the block below

    $boxes = array(
    array( 'title' =>__('Avia Layout Builder','avia_builder'), 'id'=>'avia_builder', 'page'=>array('portfolio','page','post'), 'context'=>'normal', 'priority'=>'high', 'expandable'=>true ),
    array( 'title' =>__('Layout','avia_builder'), 'id'=>'layout', 'page'=>array('portfolio', 'page' , 'post'), 'context'=>'side', 'priority'=>'low'),
    );

    =================

    Now just add the elements as you see here: http://i.imgur.com/CvFeJUK.png

    And you get this:. http://i.imgur.com/yIxN1ou.png

    You can see there are 2 titles, so You may not need to add the very first element after 1/1

    ================

    To change the default image size of any location within the theme, it is best to install Simple Image Sizes plugin http://wordpress.org/extend/plugins/simple-image-sizes/

    The plugin will add all the default sizes to Settings > Media , and you can change width height as well as to force a crop or not. Just remember that after changing the settings using the plugin, only the new images you add will be affected while the ones you uploaded will remain the same unless you regenerate them on the same page using the same plugin.

    Thanks,

    Nick

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

The topic ‘Blog Layout’ is closed to new replies.