Skip to content

Portfolio layout "side by side" tweak #2819

Answered by rjzupkoii
andybeet asked this question in Q&A
Discussion options

You must be logged in to vote

This is the block of code with the relevant div and img tags -

      <div class="archive__item-teaser">
        <img src=
          {% if teaser contains "://" %}
            "{{ teaser }}"
          {% else %}
            "{{ teaser | prepend: "/images/" | prepend: base_path }}"
          {% endif %}
          alt="">
      </div>

However, working with the template means a mix of HTML, CSS, and Liquid to work with, so it can be a bit challenging to really customize things. Odds are archive__item-teaser is the one to focus on, and the SCSS is in _sass/layout/_archive.scss

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@andybeet
Comment options

@rjzupkoii
Comment options

Answer selected by andybeet
@andybeet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants