Adjust div.container in a section.

har7801 12 Dec, 2019
I am trying to CC the contents within a particular div.container to fill a page width. The bootstrap has all sorts of padding. The issue is that there are are multiple div.container on my page and if I change one it affects them all.

the code I am using to get what I want is this:

div.container {margin-left:5px; margin-right:5px; width:100%}
div.ui.grid.vertically.padded.vertically.divided {width:100%}

The div.container is nested under:

section id="sp-main-body"
GreyHead 13 Dec, 2019
Answer
1 Likes
Hi har7801,

It sounds as if you need a more specific CSS selector - maybe #sp-main-body div.container

Bob
har7801 13 Dec, 2019
Perfect, all in my syntax as a beginner.
This topic is locked and no more replies can be posted.