Skip to content

How to center portfolio? #52

Description

@bvasiles

I'd like to have fewer projects showcased than can fill an entire row. Any idea how to center the portfolio? <div class="recentitems portfolio"> seems to always align left.

Thanks!

<div id="portfoliowrap">
    <div class="portfolio-centered">
    {% if include.title %}<h3>{{ include.title }}</h3>{% endif %}
    <div class="recentitems portfolio">
    {% for project in site.projects limit:include.limit %}
                <div class="portfolio-item graphic-design">
                    <div class="he-wrap tpl6">
                    <img src="{{ "/assets/img/project/" | prepend: site.baseurl }}{{ project.img }}" alt="">
                        <div class="he-view">
                            <div class="bg a0" data-animate="fadeIn">
                                <h3 class="a1" data-animate="fadeInDown">{{ project.title }}</h3>
                                <a data-rel="prettyPhoto" href="{{ "/assets/img/project/" | prepend: site.baseurl }}{{ project.img }}" class="dmbutton a2" data-animate="fadeInUp"><i class="fa fa-search"></i></a>
                                <a href="{{  project.url | prepend: site.baseurl }}" class="dmbutton a2" data-animate="fadeInUp"><i class="fa fa-link"></i></a>
                            </div><!~~ he bg ~~>
                        </div><!~~ he view ~~>
                    </div><!~~ he wrap ~~>
                </div><!~~ end col-12 ~~>
            {% endfor %}
        </div><!-- portfolio -->
    </div><!-- portfolio container -->
</div><!--/Portfoliowrap -->```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions