Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
5503 Представления

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!

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
сент. 25
1558
1
апр. 24
2748
0
нояб. 23
2282
4
авг. 25
11617
1
окт. 22
3723