AnswerBun.com

CSS-tags added using Display suite on products disappears

Drupal Answers Asked by Anders Wallenquist on October 4, 2020

Using Display Suite to format output of entity product from Drupal Commerce. HTML- and CSS-tags added by “Expert” formatting tend to disappear when products are viewed using display-nodes. In this case its a image-field with n-number of images that I’m trying to display in a horizontal row instead of stack them vertical. I’m using fancybox as display widget and want to change the behaivor with “float: left; position: relative;”. Drupal 7.

The dialog for entering the extra tags are displayed both in product-type view and node-type view when administer fields. It does not matter if I do the formatting at product-type-level or node-type.

When adding the same formatting with a non commerce node-type it works as I suppose it should.

Are there a better way to accomplish horizontal rows with thumnails and displaying full size-pictures using fanzybox when presenting commerce products?

I have been using lightbox2, but it seems to be a bug when combining it with Drupal Commerce.

One Answer

I am not trying to do any grid nor gallery, but have had success with Colorbox. http://drupal.org/node/1230232 for info on enabling it.

Answered by Onyx on October 4, 2020

Add your own answers!

Related Questions

KernelEvents::REQUEST is not fired on cached pages

2  Asked on December 8, 2021 by user34185

     

Add column to custom field schema

3  Asked on December 8, 2021 by coder1

 

Order receipt email content

1  Asked on December 8, 2021 by pete-l

 

Date time save in database

0  Asked on December 8, 2021 by pratip-ghosh

   

How can I create a recommended project in the root directory?

2  Asked on December 6, 2021 by user2574948

   

Wrapping fields together in a Views Exposed Filter

1  Asked on December 4, 2021 by typologist

   

Submit form and disable submission button

7  Asked on December 4, 2021 by matt9292

   

How to check if an entity is referenced before deleting?

2  Asked on December 2, 2021 by halofx

   

Add class to {{ link }} twig attribute

3  Asked on December 2, 2021

   

Remove field attributes using hook_form_alter()

1  Asked on November 30, 2021 by senthilkumar

 

How to send email to submitter in a webform?

2  Asked on November 30, 2021 by cel57

     

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP