Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- functions.php:
- // =========================================
- // = Builder Child Alternate Module Styles =
- // =========================================
- if ( ! function_exists( 'it_builder_loaded' ) ) {
- function it_builder_loaded() {
- builder_register_module_style( 'widget-bar', 'Service Boxes', 'service-boxes' );
- }
- add_action( 'it_libraries_loaded', 'it_builder_loaded' );
- }
- Widget:
- <div class="box">
- <div class="icon"><img alt="" src="http://kallyas.dev/wp-content/uploads/2013/01/ico-01.png"></div><h4 class="title">WEB DESIGN SERVICES</h4><ul class="list-style1"><li>Content management systens
- </li><li>Virtual shops and ecommerce
- </li><li>Presentation websites
- </li><li>Online catalogues
- </li><li>Portal systems
- </li><li>& any other dynamic website</li></ul>
- </div>
- CSS:
- /* Service Boxes */
- .widget-bar-service-boxes .box {
- margin-bottom: 15px;
- }
- .widget-bar-service-boxes .title {
- font-size: 14px;
- font-weight: 700;
- color: #CD2122;
- text-shadow: 1px 1px 0 white;
- vertical-align: middle;
- }
- .widget-bar-service-boxes .icon {
- float: left;
- width: 80px;
- line-height: 76px;
- background: #646464;
- text-align: center;
- margin-right: 20px;
- vertical-align: middle;
- -webkit-border-radius: 50%;
- -moz-border-radius: 50%;
- border-radius: 50%;
- height: 80px;
- -webkit-transition: all 0.2s ease-out;
- -moz-transition: all 0.2s ease-out;
- -o-transition: all 0.2s ease-out;
- -ms-transition: all 0.2s ease-out;
- transition: all 0.2s ease-out;
- -moz-backface-visibility: hidden;
- }
- .widget-bar-service-boxes .box:hover .icon {
- background: #cd2122;
- }
- .widget-bar-service-boxes ul {
- float: left;
- margin-left: 0;
- }
- ul.list-style1 li {
- list-style: none;
- background: url('images/list-style1.png') no-repeat 2px 8px;
- padding-left: 15px;
- margin-bottom: 4px;
- }
- .widget-bar-service-boxes img {
- vertical-align: middle;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement