Skip to content

Home page: Rebuild card blocks on home page using Feature node type and view. #1082

Description

@jenlampton

I would like the cards in the hero region to be a View of the "Feature" node type:

Image

Wes already provided great markup and CSS to make this look fab, so I've built a view that generates almost exactly the same markup - It's is pretty close!

Image

I'm having a little trouble getting the More link to look right, so going to turn it back over to him for further cleanup.

Chnges include:

  • New config for a view named home-cards
  • New views template views-view--home-cards.tpl.php
  • Changes to the Home page layout config, to place the new block

Commits containing changes (since they were not sequential)

  • 9ecdde9 - adds cards view and template
  • e69ed78 - CSS change made the hero region background black, and applied more-link styles
  • 03089fd - Rename the template file so that it will only affect the block display of the view
  • 117151d2 - switched machine name for view (since we already had a view for this)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions