AutoItScript Posted July 14, 2015 Posted July 14, 2015 As title. I've got some Pages Blocks but when I add them to the forum they always have a grey border around them. How do I stop that?
bradl Posted July 14, 2015 Posted July 14, 2015 These seem to work for me .ipsWidget.ipsWidget_vertical.ipsBox{border:none}or.ipsWidget.ipsWidget_horizontal.ipsBox{border:none}depending on if the widget is in the main grid or the sidebar.
AutoItScript Posted July 15, 2015 Author Posted July 15, 2015 Doesn't that do it for all blocks? I just want a single custom block that has no border - all the rest, topics feed, online users, are fine.
Marcher Technologies Posted July 15, 2015 Posted July 15, 2015 Doesn't that do it for all blocks? I just want a single custom block that has no border - all the rest, topics feed, online users, are fine. Same concept/approach as described there.
AutoItScript Posted July 15, 2015 Author Posted July 15, 2015 Thanks.Hmm I would have assumed that when you did a block in pure html mode you would be responsible for all the styling tags rather than having to CSS hack to remove styles. Odd decision.
AutoItScript Posted July 15, 2015 Author Posted July 15, 2015 Given that the block is this:<li class="ipsWidget ipsWidget_horizontal ipsBox" data-blockid="app_cms_Blocks_wu1hs58ue" data-blockconfig="true" data-blocktitle="Custom Blocks" data-controller="core.front.widgets.block">Can you see what is wrong with this selector?.ipsWidget.ipsWidget_horizontal.ipsBox[data-blockid=*app_cms_Blocks_wu1hs58ue] { background: #e9e9e9; border: 0; } Edit: Changed it to this instead and it works..ipsWidget.ipsWidget_horizontal.ipsBox[data-blockid="app_cms_Blocks_wu1hs58ue"]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.