test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • johnzhel Friend
    #157367

    In wiki, I found:

    <block name="top-spotlight" type="spotlight" special="left" specialwidth="25">user1,user2,user3,user4,user5</block>

    What if I want to change user3’s width to 50%? What is the best way?

    I try to write in template.css in mytemplate_foldercss like this:

    #ja-topsl .ja-box-center {width: 50%}

    But, this line got overwritten (see attached screen shot image). In this example, I placed modules in user1, user3, user5, so each block occupies 33.3% width. I want to make them 25%, 50%, 25%, respectively.

    Thank you for your help in advance!:)


    1. top-spotlight-width-question
    Saguaros Moderator
    #366520

    Dear johnzhel!

    The best way you should change theirs width is via xml configuration as per the wiki documentation.

    If you use css code to control the width, you will need to add the important property after each attribute

    right:

    #ja-topsl .ja-box-center {width: 50%!important}

    kamil Friend
    #384269

    Hello,
    im using position: user6,7,8,9,10 , and i need change width user 7,8,9 but need 3 difrent width.
    Im found a xml find witch postions, how i can set special width in this file for specyfic item ??

    Ninja Lead Moderator
    #384516

    Hi Kamil, consult this:
    <blockquote>Custom width
    Expression: <block name=”top-spotlight” type=”spotlight” special=”left” specialwidth=”25″>user1,user2,user3,user4,user5</block>
    Purpose: – this will override the default 20% width for a single position within the layout, it could be the one in the right side, it could be the one in the left side, but let’s examine these parameters closer:
    special=”left” – this defines where is the module we want to use the custom width: left or right
    specialwidth=”25″ – this defines the new width value for this module within the spotlight block.</blockquote>
    http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides#Custom_column_width

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 4 voices, and was last updated by  Ninja Lead 13 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum