Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    artisteer template on joomla minimising html code

    in need of some insight i have a artical with the following snipit of code
    <div class="art-content-layout">
    <div class="art-content-layout-row">
    <div class="art-layout-cell layout-item-0" style="width: 100%;">
    <h1> Collection Spring 2013</h1>
    </div>
    </div>
    </div>
    <div class="art-content-layout-wrapper layout-item-1">
    <div class="art-content-layout layout-item-2">
    <div class="art-content-layout-row">
    <div class="art-layout-cell layout-item-4" style="width: 20%;">
    <h2 style="text-align: center;">Handbags</h2>
    <p style="text-align: center;"> </p>
    <p style="text-align: center;">{loadposition fobba1}</p>
    <p style="text-align: center;"><a class="art-button" href="index.php/products/handbags">VIEW</a></p>
    </div>

    the {loadposition fobba1} refers to a module
    looking for a way to shorted code many tnx

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,038
    Thanks
    23
    Thanked 589 Times in 588 Posts
    You could combine the classes together rather than using three divs:
    Code:
    <div class="art_content_layout art_content_layout_row art_layout_cell layout_item_0" style="width: 100%;">
    <h1> Collection Spring 2013</h1>
    </div>
    Evolution - The non-random survival of random variants.

  • Users who have thanked sunfighter for this post:

    fabiosa (04-14-2013)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •