Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeLatest ProductsYt-FrameWorkThe Tags at Level 1 in the Blocks Tag

Example Image for Document Tree of blocks tag:


The "block"(header1, header2, menu, ...) is ordered from top to bottom of the site with "order" attribute. The width of body of blocks is equal "Template Width"

Blocks' name:

You can declare the same or diffirence names. You must use "content" tag and that is unique "content" tag to used.

Attributes:

  • Id attribute: This is id of div html tag. Don't declare coincided id.
  • Order attribute: This attribute must be declared. It is used for ordering blocks follow increased arrangement. The ordering to show blocks is from top to bottom site.
  • Autosize attribute: This attribute can be declared or not. It has two values: 0 and 1. The default value is "1". The block which can't calculate width of positions automaticlally will declare autosize="0".
  • Offset attribute: If you want to calculate width of positions base on general width which is Layout width minus some quantities, you have to declare minus quantities by "offset" attribute.
    E.g.: general width = 1024 – 50 --> declare: offset=”50px”
  • showDivTop attribute, showDivBottom attribute:  These are two separate attributes of "content" tag. It has two values: 0 and 1. The default value is "0". Three html div tags is added "div#content" tag and they're used for template which has complicated style.

    Example:

Example Image for Document Tree of blocks tag:


The "block"(header1, header2, menu, ...) is ordered from top to bottom of the site with "order" attribute. The width of body of blocks is equal "Template Width"

Blocks' name:

You can declare the same or diffirence names. You must use "content" tag and that is unique "content" tag to used.

Attributes:

  • Id attribute: This is id of div html tag. Don't declare coincided id.
  • Order attribute: This attribute must be declared. It is used for ordering blocks follow increased arrangement. The ordering to show blocks is from top to bottom site.
  • Autosize attribute: This attribute can be declared or not. It has two values: 0 and 1. The default value is "1". The block which can't calculate width of positions automaticlally will declare autosize="0".
  • Offset attribute: If you want to calculate width of positions base on general width which is Layout width minus some quantities, you have to declare minus quantities by "offset" attribute.
    E.g.: general width = 1024 – 50 --> declare: offset=”50px”
  • showDivTop attribute, showDivBottom attribute:  These are two separate attributes of "content" tag. It has two values: 0 and 1. The default value is "0". Three html div tags is added "div#content" tag and they're used for template which has complicated style.

    Example:

Last modified on 16

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes