The Mainbody Margin Keeps Reverting To Fixed# (Template ESPORTS) - Question | JoomShaper

The Mainbody Margin Keeps Reverting To Fixed# (Template ESPORTS)

T

trey-braid

Template 4 years ago

I want the main-body content to be responsive and extend the page width.

I've added this to my custom.css .article-details { /max-width:: 920px!important;/ margin-top: 35px!important; margin-left: auto; margin-right: auto;}

Also what CSS do I need to add for; so, bullet points are properly indented? Right now there is no indention when a bullet point is applied to a line space.

I've even editted the template.css to comment out the width as well because it I don't it overwrites the custom.css I have written. Even doing that the page width keeps reverting back to the max width of 920px. Everytime the page cache expires it reverts back to the original max width for the article body.

Why is that happening and should I be editting additional CSS; so, this does not happen.

0
5 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #21257

If you enable the SCSS to CSS then if you write CSS code inside the template.css file then your css code will reset by original theme.scss file. Besides, If you want to write the custom css code then you should put your css code inside the custom.css file or you should disable the SCSS to CSS option. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 years ago #21119

Hi there,

Thanks for reaching out to us. Will you please share an screenshot about the problem. I will check & get back to you soon. Also, if you want to share a screencast video, then it will be better to understand the issue.

-Thanks

0
T
trey-braid
Accepted Answer
4 years ago #21129

I'm sorry I forgot to include the URL > https://xtreme-traction.com/AIF/

https://xtreme-traction.com/screenshot-xtreme-traction.com-2021.06.15-09_06_45%20(1).png

If the image is not visible just follow the URL to view the image.

0
T
trey-braid
Accepted Answer
4 years ago #21135

I noticed one other thing - the template.css keeps being minified on the server.

I originally just installed the template and not quickstart -- I also noticed the template was minified in the template install. I ultimately replaced it with the template.css in the quickstart because it was not minified and I could then edit it if needed. 99% of the time I only edit the custom.css; but, in this instance I had to edit the template.css.

I hope I am making sense.

Trey

0
T
trey-braid
Accepted Answer
4 years ago #21136

Ok I didnt realize that the Compile SCSS to CSS was enabled > I've since turned that off.

Question though if it was enabled why would all the changed made to a template.css file be overwritten by the original version?

0