New text fields and CSS/views question

2 posts / 0 new
Last post
dfehn
dfehn's picture
New text fields and CSS/views question

I have removed some fields not needed for my setup (number of doors, EPA City/Mileage, etc) and added new fields that I need for my setup, including interior/exterior color, stock #, etc.

I am only using the ".view-browse-cars.view-display-id-cars_list" for my views, however all the "old fields" disappear when the screen is shrunk, but the new fields I added do not disappear. I have literally spent 5 hours trying to figure out where/how this is being done in the css file(s) and I can't find it. I assume I need to add my new fields to this part of the css but I just can't figure it out.

Thanks for any suggestions.

support
support's picture
Hi there dfehn:

Hi there dfehn:

Go for this CSS selector in the files (sites/all/themes/cars_dealer/css):

-responsive-mobile-portrait-layout.css
-responsive-mobile-landscape-layout.css

.view-browse-cars.view-display-id-cars_list .views-row .views-field-field-drive,
.view-browse-cars.view-display-id-cars_list .views-row .views-field-field-fuel-type,
.view-browse-cars.view-display-id-cars_list .views-row .views-field-field-body-style,
.view-browse-cars.view-display-id-cars_list .views-row .views-field-field-epa-mileage-road-
, .view-browse-cars.view-display-id-cars_list .views-row .views-field-field-miles {
    display: none;
}

Just add your new fields selectors and it is done.

Best!!

Log in to post comments