Discussion on NowaDays - Multipurpose One/Multipage WordPress Theme

Like-A-Pro

Like-A-Pro supports this item

Supported

This author's response time can be up to 1 business day.

161 comments found.

Hello Pavel, I need to have two portfolio pages. One for portfolio, another for a mixed gallery purpose but I want the portfolio without space between the elements and with space for the images of gallery page. I duplicated a portfolio page for gallery purpose but I viewed that if I load a url with these parameters, for example with your live preview site: https://nowadays.likeaprothemes.com/portfolio/fullwidth-col4/?portfolio_layout=grid&portfolio_gutter=false&portfolio_style=portfolio-1, the false value of gutter remove the space between the elements but this setting is also active for other page (gallery purpose page). How can I have two portfolio pages with different style? I think these parameters are passed in to database and that is why the two pages have autonomous styles. Thank you

Update: if I add these rules in “Additional CSS” backend nothing is happening

Update2: I solved with a php function to set gutter true or false in the db based in which page they are without the use of parameters in the url. Thanks anyway

The simplest solution is:
1. add ID to section you want use portfolio with gutters
2. add custom CSS in appearance->theme settings->custom code->CSS:

#thissectionid .portfolio-1/2 (depends on style setting in theme settings) {
    margin-left: -2px;
    margin-right: -2px;
}
#thissectionid .portfolio-item {
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 4px;
}


and of course disable portfolio gutters in global theme settings

Regards,
Pavel

by
by
by
by
by
by