-
AuthorPosts
-
August 11, 2016 at 10:58 am #959032
I have placed custom.css to folder templates/ja_megastore/css
to test it works, I have there only
body {
background-color: #000000 !important;
}But it is not being loaded, the color of body do not change. What am I doing wrong, how to get the custom.css loaded?
In backend template settings, I have development mode Off. But actually it has no difference if it is on or off, the custom.css is not loaded.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 11, 2016 at 11:03 am #959035Kindly post your working site URL here I will check it
August 16, 2016 at 12:17 pm #960448Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 16, 2016 at 4:15 pm #960517Hi
the bg color is further used by .t3-wrapper class .
Try to apply the code on this class > http://prntscr.com/c6h8ypAugust 19, 2016 at 4:53 pm #961470I see, but isn’t the custom.css loaded after that? I have there !important .markings, which should make it go over that definition of t3-wrapper class.
How can I make custom css, that is not overrun by default css or less files?I have also color change for .dropdown.mega .separator but that does not seem to work either – so etiher it is also overrun or the custom.css is not read for some reason?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 20, 2016 at 3:10 am #961552Hi
Apply my suggestion given in last reply to apply bg, t3-wrapper is the child div that has bg color you can override it by my suggestion given in this thread .August 20, 2016 at 7:11 am #961591Yes, it seems to work, thank you. For some reason it wasn’t loading the body tag attribute before, but now it does that too. The change of body color was actually not my intention, it was just a test because it seemed not to load custom css at all. But now I see also the change in body tag (although overridden with the t3-wrapper as you mentioned)
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 22, 2016 at 1:49 am #961785T3-wrapper is used for the bg color and it will override the body tag because it giving its own color after the body .
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum