AutoItScript Posted July 14, 2015 Share 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? Link to comment Share on other sites More sharing options...
bradl Posted July 14, 2015 Share 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. Link to comment Share on other sites More sharing options...
AutoItScript Posted July 15, 2015 Author Share 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. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted July 15, 2015 Share 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. Link to comment Share on other sites More sharing options...
AutoItScript Posted July 15, 2015 Author Share 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. Link to comment Share on other sites More sharing options...
AutoItScript Posted July 15, 2015 Author Share 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"] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.