Hiding cells on mobile view
-
Hi,
I am having trouble when trying to hide certain cells for mobile devices. If I either add display:none; to either the widget mobile setting or the cell mobile setting, it won’t get displayed on mobile, BUT there still is the 30px of this cell visible. I also tried giving the cell an ID or a class and then using display:none; in my css file, I also tried giving that special cell class/ID a negative margin of -30px for mobiel view, but the 30px margin ALWAYS still gets displayed. Now I know that I can hide it with#pgc-3-0-0.panel-grid-cell{ margin-bottom:0; }
for mobile devices, but since I have multiple pages where I need to do this I would need to add a million of these selectors…that can’t be the way it is supposed to be? How can you hide cells including the 30px margin on mobile easily and coder-friendly??
- The topic ‘Hiding cells on mobile view’ is closed to new replies.