-
AuthorPosts
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 3, 2016 at 11:43 am #973036Unfortunately, no changes are shown. Am I missing something?
Hi there
Could you describe better which less file you modified and which specific customization you are expecting to see in your website ?
digimouse Frienddigimouse
- Join date:
- April 2014
- Posts:
- 28
- Downloads:
- 114
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
October 3, 2016 at 12:19 pm #973043The less files I am trying to modify are:
- templates.ja_sugite.less.modules.less.css
- templates.ja_sugite.less.components.less.css
I am trying to add these:
.about-img { margin-bottom: -112px; margin-top: -72px; }
and also this:
@media screen and (min-width: 992px) .row-feature { padding-top: 112px; padding-bottom: 112px; }
and this:
.row-feature.row-feature-video .video-shuffle-wrap .content a { background: url("../../templates/ja_sugite/images/play-icon.png") no-repeat left top; display: block; height: 74px; margin: 0 auto; margin-top: 20px; overflow: hidden; text-indent: -999em; width: 74px; opacity: 0.6; filter: alpha(opacity=60); }
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 3, 2016 at 2:55 pm #973071Hi
To add these customizations you can use file custom.css in this way your customizations will be not overrided in next template updates.
Create a new file named custom.css in this folder /templates/ja_sugite/css/ and add your custom style inside it
HERE you can find documentation about custom.css.
Regards
digimouse Frienddigimouse
- Join date:
- April 2014
- Posts:
- 28
- Downloads:
- 114
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
October 3, 2016 at 9:35 pm #973167I did this and it worked. Thanks you.
Shouldn’t the less to css compile also work, though?pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 4, 2016 at 10:04 am #973356Shouldn’t the less to css compile also work, though?
Yes it should works also , but at the end result will be the same, so you have 2 options from which choose 1, but custom.css is a better solution if you want to have always available all customizations you made for future needs.
digimouse Frienddigimouse
- Join date:
- April 2014
- Posts:
- 28
- Downloads:
- 114
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
October 4, 2016 at 10:20 am #973365Ok, sounds good but I still have a problem…
I would like to alter the top and bottom padding for the feature modules. The original CSS is this:
@media screen and (min-width: 992px) .row-feature { padding-top: 112px; padding-bottom: 112px; }
I would like it to be like this:
@media screen and (min-width: 992px) .row-feature { padding-top: 22px; padding-bottom: 22px; }
So, I added the second one to the custom.css file but I don’t see any changes.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 4, 2016 at 10:38 am #973374Hi
Try to add the !important
@media screen and (min-width: 992px) .row-feature { padding-top: 22px!important ; padding-bottom: 22px!important ; }
digimouse Frienddigimouse
- Join date:
- April 2014
- Posts:
- 28
- Downloads:
- 114
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
October 4, 2016 at 10:59 am #973378Still no change 🙁
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 4, 2016 at 3:13 pm #973459Could you please correct the account for your backend provided above ? i cannot login to take a look at your settings.
also there is an error in your code it should be :
@media screen and (min-width: 992px) { .row-feature { padding-top: 22px!important ; padding-bottom: 22px!important ; } }
-
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by digimouse 8 years, 3 months ago.
The topic ‘Less to CSS not working’ is closed to new replies.