• Resolved tgberk

    (@tgberk)


    Hello,

    First of all i want to say thank you for this great theme. You guys are the best! I’ve made many customization but i stuck here. I know there is max. 3 thumbnail option on the customize page. But is that possible to make thumbnails 4 and make them smaller with some code? I want right sidebar and 4 thumbnails for pages. Thank you all!

Viewing 15 replies - 1 through 15 (of 15 total)
  • There’s an extension, or better still consider upgrading to Pro version.

    Thread Starter tgberk

    (@tgberk)

    Thank you for answer. Is this extension just for featured pages? Actually i want change post list to 4 column for pages. But there is note in customize page:
    Note : columns are limited to 3 for single sidebar layouts and to 2 for double sidebar layouts.
    I want 4 colums for single sidebar. Is that possible?

    Hello,
    of course isn’t impossible but might have a not beautiful visual effect.
    Anyway you can do that adding the following to your child-theme functions.php:

    add_filter('tc_grid_col_layout_map', 'four_cols_one_sidebar');
    function four_cols_one_sidebar( $layout_cols_map ){
      $layout_cols_map['span8'] = $layout_cols_map['span9'] = '4';
      return $layout_cols_map;
    }

    Hope this helps.

    Thread Starter tgberk

    (@tgberk)

    Thank you, but it doesn’t work :/ unfortunately nothing changed. I can change to 4 colums with customize page but it doesn’t allow to add one sidebar.

    There’s something wrong in your code then. I tested it ??
    Or you made some other layout changes somewhere else.
    Can you share a link to your site?

    Thread Starter tgberk

    (@tgberk)

    Yes, i worked now. It is just awesome thank you very much ?? I have one more question ^^ Can i get menu on the same level with logo. Like this:
    Logo Menu
    Sorry for bad english ?? and thank you again

    Thread Starter tgberk

    (@tgberk)

    I made it. But now i have another question. Can i show post tittle before thumbnail images. I found these function in theme files but i couldn’t figure out

    /**
    * hook : tc_post_list_layout
    * force content + thumb layout : Force the title to be displayed always on bottom
    * @param current layout array()
    */
    function tc_grid_set_content_layout( $_layout ){
    $_layout[‘show_thumb_first’] = true;
    $_layout[‘content’] = ‘tc-grid-excerpt’;
    $_layout[‘thumb’] = ‘span12 tc-grid-post-container’;

    return $_layout;
    }

    yeah you can, and yes you found the right method which forces it, so you have to add something like the following to your child-theme functions.php

    add_filter( 'tc_post_list_layout', 'title_before_thumb', 20);
    function title_before_thumb( $_layout ){
      $_layout['show_thumb_first'] = false;
      return $_layout;
    }

    A good starting guide about hooks

    Thread Starter tgberk

    (@tgberk)

    Thank you, but this code crashed site :/ are you sure about that

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Did you set up a Child Theme?

    Pretty much ??
    You might want to read this:
    https://doc.presscustomizr.com/customizr/diagnosing-problems-customizr/

    to see why that code cannot crash your website, unless you made some error while copying & pasting ??
    It happens, or maybe I’m missing something, but I double checked as I always do, and just for you I triple checked just now ??

    Thread Starter tgberk

    (@tgberk)

    Yes i’ve made a mistake again -_- It worked now thank you very much. And while you are still here ?? Do you know how can i remove the block and change font-size and type for titles? I found something in css file but i couldn’t figure out again

    .post H1, .post H2
    {
    display: inline-block;
    }

    I’m not here ??
    with the block you mean? borders?
    You can remove shadows and border bottom from the customize,
    Apperance -> Customize -> Content .. -> Post Lists -> POST LIST DESIGN
    MORE GRID DESIGN OPTIONS

    then :

    .tc-grid {
      border: none;
    }

    remove the border “box”

    and something like this CSS selector
    .tc-post-list-grid .entry-title
    for the title.

    Anyway about understanding what CSS you need:
    https://doc.presscustomizr.com/customizr/browsers-dev-tools/

    Hope this helps.

    Thread Starter tgberk

    (@tgberk)

    That is exactly what i am looking for. I dont know how to thank you, you’re very helpful and the best *places a fist here*. Thank you again ??

    Glad you solved, you’re welcome ??

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Can i get 4 thumbnails?’ is closed to new replies.