GeoDirectory SupportRemove left margin on selected side bar element in details page – GeoDirectory Support https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/feed Fri, 26 Dec 2025 09:46:53 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23049 <![CDATA[Remove left margin on selected side bar element in details page]]> https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23049 Sat, 29 Nov 2014 19:23:58 +0000 Russell I have the place form field for video showing in the right sidebar on the details page.

I am trying to remove the margin which contains the icon from just this single element. I have tried applying a custom class but cannot get it working.

Attached is a screengrab; Left is what I have and right is what I am trying to achieve.

]]>
https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23058 <![CDATA[Reply To: Remove left margin on selected side bar element in details page]]> https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23058 Sat, 29 Nov 2014 23:06:41 +0000 Guust Can you post a URL for that page, that would make it a lot easier to give you some CSS.

]]>
https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23064 <![CDATA[Reply To: Remove left margin on selected side bar element in details page]]> https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23064 Sun, 30 Nov 2014 00:32:15 +0000 Russell https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23067 <![CDATA[Reply To: Remove left margin on selected side bar element in details page]]> https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23067 Sun, 30 Nov 2014 01:08:25 +0000 Guust Try adding this to your CSS:

.geodir-company_info .geodir_video {margin-left: -50px;}

]]>
https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23113 <![CDATA[Reply To: Remove left margin on selected side bar element in details page]]> https://wpgeodirectory.com/support/topic/remove-left-margin-on-selected-side-bar-element-in-details-page/#post-23113 Sun, 30 Nov 2014 18:53:25 +0000 Paolo I see there is a height:200px added to the video too. You should increase it :

something like this would be better:


.geodir-company_info .geodir_video {
    height: 250px;
    margin-left: -50px !important;
}

This way the send enquire/send to friend links wouldn’t be overlapping the video controls.

I’ll set this as resolved.

Thx

]]>