Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #225452

    Hello,

    I want to use the same layout as this page: http://kriesi.at/themes/enfold/portfolio/portfolio-ajax/

    But, was wondering if the title below each image can be set to a h2 or similar with some custom css?

    Also, is it possible to increase the padding between the columns on the portfolio pages only (just to add a bit of space between them)?

    Thanks

    Andrew

    #225611

    Hey awilson3rd!

    You can edit config-templatebuilder > avia-shortcodes > portfolio.php, find this code on line 432:

    $output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
    

    Replace it with:

    $output .= "<h2 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h2>";
    

    Add this on Quick CSS or custom.css:

    #top .grid-entry.no_margin.av_one_third {
    padding: 10px;
    }

    Best regards,
    Ismael

    #253136

    Hello Ismael,

    I am also trying to do this on a 4 column layout but the following code doesn’t work:

    #top .grid-entry.no_margin.av_one_fourth {
    padding: 10px;
    }

    Any ideas?

    Thanks

    Andrew

    #253137

    Scrap that last comment. It is working but the images within the columns are too large to show
    any padding.

    Thanks

    Andrew

    #253155

    Hey!

    Can you post the link to your page so we can take a look?

    Regards,
    Yigit

    #253180

    Hello Yigit,

    It’s ok. I think the problem is because I have images in 4 columns which are taking up space. So, the code works for padding on the bottom as there is room for it there, it doesn’t work on the right/left because the images are too large to incorporate padding (I think)

    Please close this one off.

    Thanks again for your advise.

    Andrew

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Portfolio title and padding’ is closed to new replies.