Jump to content

can't change class for blockcms


Recommended Posts

I use default theme.

As you know in this theme blockmanufacturers links has background icon to the left of the each link (bullet.gif).
And I tried to make same icon for blockcms links. But it was really hard.


first of all I compare templates of blockmanufacturers and blockcms

blockmanufacturers.tpl (without variables and if clauses)

......

manufacturer



blockcms.tpl (without variables and if clauses)

        
....

cms link
cms link
stores





Then I found that bullet.gif is used only in bullet style

ul.bullet li, .block ul.bullet li, li.bullet {
   padding-left: 2em;
   background: transparent url('../img/bullet.gif') no-repeat 6px 6px;
   list-style-type: none
}




so I just changed blockcms.tpl like that

        
....

cms link
cms link
stores




I set in Performance tab cache -> off, force smarty compile -> on.
But when I refresh page I don't see any difference.
Then I look at page source code and noticed that nothing changed there.

Then I make change in blockmanufacturer just to check:
I replace this



with this


and after refresh page I really see that source code has changed.
But I don't understand why for blockcms this is not the case?
The only thing I can imagine is that I edit wrong file www\modules\blockcms\blockcms.tpl ???


so the only way to change blockcms template is to edit css, blockcms.tpl is not editable at all
/* generic style */
ul.bullet li, .block ul.bullet li, li.bullet, #informations_block_left ul.block_content li  {
   padding-left: 2em;
   background: transparent url('../img/bullet.gif') no-repeat 6px 6px;
   list-style-type: none
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...