articles display without margin left - Forum | JoomShaper
Staff replied SP Page Builder

articles display without margin left

Asked by Martin Seidl 5 years ago Last activity 5 years ago

4 replies

Rashida Rahman Staff

Hi there!

You may use the following code in your custom CSS:

@media (min-width: 1200px){
body.view-featured #sp-main-body .row{
    max-width: 1140px;
    margin:0 auto;
}
}

Note: Path towards custom CSS:
Extensions>Templates>Styles>
Click on your current default template name then choose Template Options.
Then find custom CSS within the custom code.

https://prnt.sc/pu705g

https://prnt.sc/pu70zn

Hope this will solve the issue for you.

Best Regards

Rashida Rahman Staff

Hi,

You can add space among items with the following code:

.gsearch-results-393 .item {
    padding-bottom: 20px;
}

And here is the code for your article view:

@media (min-width: 1200px){
body.view-article #sp-main-body .row{
    max-width: 1140px;
    margin:0 auto;
}
}

Best Regards

Log in to reply.