0

I like to create a view to display properties information as shown below.

enter image description here

View

enter image description here

View page

7676 - SQFT

7 - BR

enter image description here

I created a view and added the fields based on my design. I made progress, but I am not able to create the second column of data (SQFT, BR).

How do I add the second column in this view?

1
  • 1
    Ever heard of CSS? – No Sssweat Feb 23 '20 at 8:09
2

I wouldn't use Fields setting for this case.

Try to override template for specific content type and set your view to display your content type in specific 'view mode' for example teaser.

In your view change 'Format' to 'unformated list' and change 'Show' setting to 'teaser' for example. This will display your content type in specific view mode, so now you can override your template for this custom content type using:

node--my_content_type_machine_name--display_mode.html.twig

be aware of correctly using double dashes, otherwise your template won't be registered by drupal. Then you can code custom HTML template for your content type in this specific view mode and you can customize your layout according to your needs.

Not the answer you're looking for? Browse other questions tagged or ask your own question.