Regarding some padding...

0 replies · opened Dec 3, 2018

Jjpme226Dec 3, 2018

in this quick sample, I wanted to make a narrow column that will most likely be viewed on mobile devices more than anything else, so I used the:

"mt-5 divcenter" to control the width and keep it tidy. It IS wrapped in the "section" element and if I had a color there or an image, how can I remove that padding between top of the Mt-5 DivCenter.

the sample is at

http://www.code.minus302.com/

I'd love to have that image container start immediately under the nav-bar.

Also...I used a class to add three nav buttons on the bottom. When this gets smaller, there is a gap between those columns where the buttons live. IS there a way to get those to stack?

<div class="col_full" style="margin:0px;padding:0px;">
<div class="col_one_third" style="background-color:#898989;padding:0px;">
<div align="center"><button type="button" class="button button-large " style="background-color: #898989;">LINK</button></div>
</div>

         &lt;div class="col_one_third" style="background-color:#898989;padding:0px;"&gt;
             &lt;div align="center"&gt;&lt;button type="button" class="button button-large " style="background-color: #898989;"&gt;LINK&lt;/button&gt;&lt;/div&gt;
        &lt;/div&gt;
        
        &lt;div class=".col_one_third .col_last" style="background-color:#898989;padding:0px;"&gt;
        
           &lt;div align="center"&gt;&lt;button type="button" class="button button-large " style="background-color: #898989;"&gt;LINK&lt;/button&gt;&lt;/div&gt;
            
        &lt;/div&gt;
        &lt;/div&gt;

Thanks for the tips!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard
Regarding some padding... · Canvas Template Support