-
AuthorPosts
-
August 25, 2015 at 6:32 pm #665381
Hello,
I’m trying to override a CSS class that is located in the bootstrap.css file. For some reason no matter how I try, I can’t seem to override the .container class.
Here is the CSS I’ve been trying to use in the custom.css file:
.layout-events #t3-mainbody .container {
margin-right: auto;
margin-left: auto;
padding-left: 10px !important;
padding-right: 10px !important;
}I have an issue with the padding on this page of my site:
http://ecomagazine.cloudaccess.host/index.php?option=com_content&view=category&layout=ja_teline_v:blank&id=152&Itemid=136If I change the .container class in the bootstrap file then is messes up the homepage.
Thank you,
johnpavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 25, 2015 at 7:22 pm #665436Hi
Seems that problems in your events page are coming from this setting in your custom.css at line 114
.layout-magazine #t3-mainbody .row {
margin-left: 10px;
margin-right:20px;
}If you disable them your page looks correctly loaded in margins
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 25, 2015 at 7:22 pm #746582Hi
Seems that problems in your events page are coming from this setting in your custom.css at line 114
.layout-magazine #t3-mainbody .row {
margin-left: 10px;
margin-right:20px;
}If you disable them your page looks correctly loaded in margins
August 25, 2015 at 7:27 pm #665438I commented out that CSS, but now the homepage layout is outside the margins.
August 25, 2015 at 7:27 pm #746584I commented out that CSS, but now the homepage layout is outside the margins.
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 25, 2015 at 7:38 pm #665439I don’t know which type of changes you previously made to your original css since quickstart version has no problems with it
anyway you can create a css override for the .container class in custom.css file
in this way.events .container {
padding-left: 0px!important;
padding-right:0px!important;
}Then in your events menu item in top navigation menu add events class suffix in Page Display Tab
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 25, 2015 at 7:38 pm #746585I don’t know which type of changes you previously made to your original css since quickstart version has no problems with it
anyway you can create a css override for the .container class in custom.css file
in this way.events .container {
padding-left: 0px!important;
padding-right:0px!important;
}Then in your events menu item in top navigation menu add events class suffix in Page Display Tab
August 25, 2015 at 7:51 pm #665440Yeah, I’m not sure what Happened. I try not to modify anything within the core, I just add CSS classes to the custom CSS. I just commented out the entire custom.css and the problem is still there.
Someone from this forum support did modify one of the acm layouts. I forgot who it was, I’d have to look though the posts I added.
August 25, 2015 at 7:51 pm #746586Yeah, I’m not sure what Happened. I try not to modify anything within the core, I just add CSS classes to the custom CSS. I just commented out the entire custom.css and the problem is still there.
Someone from this forum support did modify one of the acm layouts. I forgot who it was, I’d have to look though the posts I added.
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 25, 2015 at 7:55 pm #665441Download the template files unzip on your local and restore all original files, it is the fastest way
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
August 25, 2015 at 7:55 pm #746587Download the template files unzip on your local and restore all original files, it is the fastest way
August 25, 2015 at 8:00 pm #665442Ok, will do.
August 25, 2015 at 8:00 pm #746588Ok, will do.
August 26, 2015 at 11:56 am #672784I updated the template to the latest version and the problem still persists: http://ecomagazine.cloudaccess.host/
August 26, 2015 at 11:56 am #746679I updated the template to the latest version and the problem still persists: http://ecomagazine.cloudaccess.host/
-
AuthorPosts
This topic contains 19 replies, has 3 voices, and was last updated by conshelf 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum