Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to center portfolio? #52

Open
bvasiles opened this issue May 19, 2017 · 0 comments
Open

How to center portfolio? #52

bvasiles opened this issue May 19, 2017 · 0 comments

Comments

@bvasiles
Copy link

bvasiles commented May 19, 2017

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 -->```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants