Ajout d'un custom.css pour personnaliser le thème
This commit is contained in:
@@ -38,7 +38,8 @@ module.exports = function (grunt) {
|
|||||||
cssmin: {
|
cssmin: {
|
||||||
target: {
|
target: {
|
||||||
files: {
|
files: {
|
||||||
'assets/dist/css/thelia.min.css': 'assets/src/css/thelia.css'
|
'assets/dist/css/thelia.min.css': 'assets/src/css/thelia.css',
|
||||||
|
'assets/dist/css/custom.min.css': 'assets/src/css/custom.css'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -199,7 +200,7 @@ module.exports = function (grunt) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
cssmin: {
|
cssmin: {
|
||||||
files: ['assets/src/css/thelia.css'],
|
files: ['assets/src/css/thelia.css','assets/src/css/custom.css'],
|
||||||
tasks: ['autoprefixer', 'cssmin'],
|
tasks: ['autoprefixer', 'cssmin'],
|
||||||
options: {
|
options: {
|
||||||
spawn: false,
|
spawn: false,
|
||||||
|
|||||||
1
templates/frontOffice/default2020/assets/dist/css/custom.min.css
vendored
Normal file
1
templates/frontOffice/default2020/assets/dist/css/custom.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
div.container{width:90%!important}.container{width:95%}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
div.container {
|
||||||
|
width: 90% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: 95%
|
||||||
|
}
|
||||||
@@ -63,6 +63,9 @@ GNU General Public License : http://www.gnu.org/licenses/
|
|||||||
{stylesheets file='assets/dist/css/thelia.min.css'}
|
{stylesheets file='assets/dist/css/thelia.min.css'}
|
||||||
<link rel="stylesheet" href="{$asset_url}?v=1">
|
<link rel="stylesheet" href="{$asset_url}?v=1">
|
||||||
{/stylesheets}
|
{/stylesheets}
|
||||||
|
{stylesheets file='assets/dist/css/custom.min.css'}
|
||||||
|
<link rel="stylesheet" href="{$asset_url}">
|
||||||
|
{/stylesheets}
|
||||||
{*
|
{*
|
||||||
If you want to generate the CSS assets on the fly, just replace the stylesheet inclusion above by the following.
|
If you want to generate the CSS assets on the fly, just replace the stylesheet inclusion above by the following.
|
||||||
Then, in your back-office, go to Configuration -> System Variables and set process_assets to 1.
|
Then, in your back-office, go to Configuration -> System Variables and set process_assets to 1.
|
||||||
|
|||||||
Reference in New Issue
Block a user