Views Portfolio 1 Columns

brave's picture
brave
Wed, 03/30/2016 - 06:39
#1
Views Portfolio 1 Columns

unfortunately I have to again ask for your help.

I need a views is just as 2,3,4 or 5 columns constructed exactly, only with 1 columns. But I have all views.tpl by find no approach to change it so that is only 1 columns displayed.

The reason that I want to show 2 different views in a container by the AWEContent look like this view columns. 2

I have with grid-12 but tried unfortunately are always 2 or 3 columns displayed.

<Div class = "container portfolio grid - <? Php print $ num_col;>?

<Div class = "container portfolio-12 grid 12

Can you give me a rudimentary what I need to change to display by 1 columns.

See Screenshot.

Image title

Many Thanks

cindy's picture
cindy
Wed, 03/30/2016 - 23:20

Hi,

Please open file views-view--portfolio-space.tpl.php in folder sites\all\themes\md_make\templates\views\block\portfolio\space 

And replace:

<div class="portfolioContainer grid-<?php print $num_col; ?> have-space blog-masonry view-content">

with:

<div class="portfolioContainer grid-one have-space blog-masonry view-content">

Then go to themesetting => Custom Code => Custom CSS

and add:

.portfolioContainer.grid-one figure {
width: 100%;
}
brave's picture
brave
Thu, 03/31/2016 - 03:30

many thanks it works just fine. thank you

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.