CSS for Display Suite Fields not applied I'm attempting to place text next to the top of images inline for a content type using CSS on fields through Display Suite with a built-in layout in Panels (Two column bricks)

I am using a subtheme for the professional_theme.


I have tested and ensured the style sheet is over-ridden to my subtheme
I have inserted the css shown below (and tried several other css codes)
I have inserted the css names into the CSS Classes of Display Suite
I tried applying the styles to several different fields as well as
the region independently and together.


That all being said I think there is extra CSS code being inserted that is throwing off the style being pulled in but I have no idea where it is coming from. 

The code below displays Source Code with the CSS style I applied to the image and a text field:
The names of the only styles I applied are: .floatleft .floatright

&lt;div id="block-system-main" class="block block-system"&gt;


&lt;div class="content"&gt;
&lt;div class="panel-display panel-2col-bricks clearfix" &gt;
&lt;div class="panel-panel panel-col-top"&gt;
&lt;div class="inside"&gt;&lt;div class="field field-name-title field-type-ds field-label-hidden"&gt;
&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;h2&gt;Are you the Kind to be Kind&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-date-good-news field-type-datetime field-label-hidden"&gt;

&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;span class="date-display-single"&gt;Tuesday, October 27, 2015 - 09:30&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class="field field-name-field-image-positive-news .floatright"&gt;&lt;img src=".../sites/default/files/styles/medium/public/positivenews/476950.jpg?itok=uIGCBUH2" width="220" height="165" alt="" /&gt;&lt;/div&gt;
&lt;div class="field field-name-field-inspirational-thought-oday field-type-text-long field-label-hidden .floatleft"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;p&gt;You are in charge of your own destiny, don’t try to control theirs.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;


CSS CODE: Keep in mind that I have tried other CSS codes

.floatleft {
clear: both;
vertical-align: top;
float: left;
padding: 4px 10px 4px 0;
}

.floatright {
clear: both;
vertical-align: top;
float: right;
padding: 4px 0 4px 10px;
}


Any help is greatly appreciated. I tried finding CSS documentation for Display Suite with little luck.
WO
First of all, remove the . from your classes in your HTML code, e.g. you should have &lt;div class="floatright"&gt; and not &lt;div class=".floatright"&gt;.

If you want to have one element next to another by using float, your combined element's width should be smaller than their container's. And since both your image and the text are inside divs and a div has 100% width by default, you have to specify a smaller width to each.

.floatleft {
    float: left;
    width: 40%;
}

.floatright {
    float: right;
    width: 30%;
}


Just change the widths accordingly.