Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Also keep in mind that you are still able to use background images in the CSS, and there is no need to ever worry about the default Zurb CSS file. </p> <p>Just make a CSS file and save it to the CSS file folder and name it app.css and save it. Now if you make any of your own rules you can save them here. </p> <p>So for example you could make the rule "main-box" with a numerical value, and save it to your css file.Then you could apply a backgound image to it. So the HTML would look like this:</p> <pre><code>&lt;div class="row"&gt; &lt;div class="main-box large-3 columns" style="text-align: center;"&gt; &lt;a href="trash.html"&gt;&lt;img src="metro_tiles/trash.png"&gt;&lt;/a&gt; &lt;/div&gt; &lt;div class="main-box2 large-3 columns" style="text-align: center;"&gt; &lt;a href="water.html"&gt;&lt;img src="metro_tiles/water.png"&gt;&lt;/a&gt; &lt;/div&gt; &lt;div class="main-box3 large-3 columns" style="text-align: center;"&gt; &lt;a href="energy.html"&gt;&lt;img src="metro_tiles/account.png"&gt;&lt;/a&gt; &lt;/div&gt; &lt;div class="main-box4 large-3 columns" style="text-align: center;"&gt; &lt;a href="about.html"&gt;&lt;img src="metro_tiles/about.png"&gt;&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>Then simply give it a CSS rule with a background image in app.css like this: </p> <pre><code>.main-box,.main-box2,.main-box3,.main-box4 {background-image: url(path to your image file here);} </code></pre> <p>Or if you need to have separate background images separate your rules like:</p> <pre><code>.main-box{background-image:url();} .main-box2{} .main-box3{} .main-box4{} </code></pre> <p>and so on...</p> <p>I should note that this is just one way of doing it. There are times in responsive design where it really pays to enter the image in html. Using background images is just one way to override the default container padding. </p> <p>One other side note....if you enter one of the default CSS rules from Zurbs CSS files into app.css; then it will be overridden. So you can change even default CSS values without messing with the original file. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload