1

Currently working on theming with Twig I created a region called 'Blog Content' I placed under it a view that i recently created Called 'Blog' with a display Block to display just the 3 last article**

for each field I specified the wrapper around it and the CSS class used by my theme and I have this output:

enter image description here

But i want it to be just like this:

enter image description here

My questions:

  1. How to specify the tag (html) to be used to display my field with specific css class : in my case i want to display the title with
  2. What field should i add to add the date of post
1
  1. Edit your field on which you want to add an HTML tag to a specific class.(Style settings category) See screenshot. enter image description here

  2. You need to add "Authored on" field and configure the display as you want to be shown. enter image description here

  • Thank you so much for your answer it was a year and a half ago . It was resolved i think i used the same method you gave. The website is live since that ngtrend.com – Meher Jebali Nov 9 '17 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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