How to create an icon box like the demo front page

September 6, 2014| Sushil Adhikari

This theme offers two layout styles for icon boxes, the default centered one, as well a left aligned icon:

 

icon-box

 

icon-box-left

Create an Icon Box

  1. Copy your snippet from below
  2. Go to your page, post, or text widget, and paste the code into it. For pages and posts, make sure you paste this code in the “Text” editor view because you are working with HTML code
  3. Replace the sample content with your own. I recommend you do most of this while in the “text” view so you don’t accidentally delete an html tag like a <div> etc.
  4. Change the sample icon “icon-mobile” to the one you want (see further below for a list of available icons)
  5. Save your page, post, or widget

 

 

Defaut Icon Box Snippet

This is an example from the first icon box on the live demo site:

<div class="pref-icon-box">
<div class="pref-icon-header">
<div class="icomoon icon-stack"></div>
<h3>Mobile Responsive</h3>
</div>
<div class="pref-icon-content">
<p>Using Twitter’s Bootstrap framework, you get a theme that is build to give you a responsive website that can be viewed on most mobile devices.</p>
</div>
</div>

Left Icon Box Snippet

This is an example from the first icon box on the live demo site:

<div class="pref-icon-box left">
<div class="pref-icon-header">
<div class="icomoon icon-stack"></div>
<h3>Lorem Ipsum Delore</h3>
</div>
<div class="pref-icon-content">
<p>Donec nisi nisi, ornare vitae ligula quis, iaculis fermentum est. Integer sed tempor justo. Donec metus metus, condimentum at augue nec, posuere facilisis justo. Vivamus lacus purus, iaculis vitae iaculis eu, dictum sed ante. Nunc ut dui ac lorem molestie.</p>
</div>
</div>
Categories: Setup Tutorials for Preferential Lite

Leave a Reply

Black Friday Offer - 50% Off Discount on ALL PRO THEMES AND MEMBERSHIPS Use discount code BFCM2019