Hi @wrobel,
sorry for the delayed answer.
First question: Where exactly do you (want to) change the width? Of which element?
html{}
body{}
.page-center{}.landing-page{}.two-column{}
If you change the (max-)width of one of those it’s propably gonna affect some other pages/templates.
You can add “pillarpage”(or something like this) to the body classes. It should look like this
landing-page two-column pillarpage (space between the three names;all lowercase;names without spaces)
Then you can do something like:
.pillarpage .page-center{}
.pillarpage .pillarpage-class{}
So basicly you can “call” every group/object/module in the template individually(it can get messy very quick) by typing .pillarpage(replace it with the name you’ve added as abody-class) in front of it. (Don’t do it somewhere “in the middle” of the CSS file!!!) - best-case always at the bottom(or in a seperate CSS file)
If you decide to go with a seperate CSS file it could be the better solution because:
- all changes you do will affect only the templates you assign the seperate CSS to
- you don’t mess up your “Theme”
For the HTML part:
- do you have somewhere
{{standard_header_includes}}
in the
<head>
...
</head>
part?
If yes - you will propably will need to override the global loaded CSS(s) by adding your “public url”(I’ve talked about it in the previous post) to the css after it.
Like this:
<head>
...
{{standard_header_included}}
...
<link href="paste-your URL/code here" rel="stylesheet">
</head>
Cloning a CSS does only make sense(imo) when:
- you want to keep the theme(-pack) CSS untouched
- you want to try out some things but want to have the abbility to “jump” back quickly and compare the results
Best solution would be to go with a seperate CSS
regards
Anton
|
| Did my post help answer your query? Help the Community by
marking it as a solution |
| — | — |