跳至內容
選單
此問題已被標幟
5479 瀏覽次數

On the shop page of the e-commerce module, I would like to change the class of

<div id="products_grid_before" class="col-md-3 col-sm-4 hidden-xs">

I would like to change `hidden-xs` to `show-xs`. I created the following xpath selector:

<xpath expr="//div[@id='products_grid_before']" position="attributes">            
   <attribute name="class">col-md-3 col-sm-4 show-xs</attribute>        
</xpath>


However the class doesn't change. The xpath selector is placed well in the code and works as expected if I change 'name' to, say 'a'.

How can I change the class of #products_grid_before?


Thank you!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
9月 25
1548
1
4月 24
2739
0
11月 23
2281
4
8月 25
11613
1
10月 22
3722