Articles With No Margin In Investa Template - Question | JoomShaper

Articles With No Margin In Investa Template

RP

Rocco Pinneri

Template 1 month ago

Hello,

in the Investa template I have installed on the test site, Joomla articles are displayed poorly (without margins) and I have to intervene within the editor to correct the formatting. No issues, however, with the pages created with SP Page Builder. I probably changed something without realizing it, where can I set the page layout properly?

Regards, Rocco

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #162879

Ciao Rocco.

General margin for articles or container you can add using Custom CSS (a single line)

Just share a link to subpage

0
RP
Rocco Pinneri
Accepted Answer
1 month ago #162882

Hi,

I thought there was an option to set margins without writing custom CSS; for example, this works:

.com-content-article { margin-top: 80px; margin-bottom: 80px; margin-left: 100px; margin-right: 100px; }

Thank you anyway

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #162883

Each template is different, sometimes small things make a big difference.


Notice! Your values would be OK only on Desktop view so do not use them for Mobile, they are too big.

Use, for example,

@media screen and (min-width: 1024px) {..here.. }

for your CSS code, and for example only 15px for Mobile.

0
RP
Rocco Pinneri
Accepted Answer
1 month ago #162886

Thank you, got it.

0