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

How to create and check block revisions?

1  Asked on November 8, 2021 by user3560198

   

Custom module with config exposed in json api

1  Asked on November 8, 2021 by daniel-harper

   

Not able to see < character in front end

2  Asked on November 5, 2021 by jos-l

 

Limit filter operators

1  Asked on November 5, 2021

   

Dynamic filters based on another filter

1  Asked on November 5, 2021 by soundcheese

   

How to add a field to menus?

1  Asked on October 26, 2021

     

Drush cr is responding with Bootstrap Failed

0  Asked on October 26, 2021 by chanel

 

How do I create a table when a module is installed?

1  Asked on October 26, 2021 by david-montera

     

Approaches for multi-field values

0  Asked on October 26, 2021 by ian-stewart

   

Pager not being rebuilt after $form_state->setRebuild() is called

0  Asked on October 26, 2021 by kenny83

 

Where are Commerce 2 hooks (or Events) in Commerce 2

1  Asked on October 26, 2021 by wally-kolcz

     

Show own content in Media Library

0  Asked on October 26, 2021 by rafaticarte

   

Ask a Question

Get help from others!

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