I've been trying to use Views to display thumbnail blocks of nodes on the home page. The thumbnail blocks are not equal in height and I wanted them to look like this site:
I have been scouring the internet for a good tutorial on how to theme the "my account" page. Creating a user-profile.tpl.php template has been a good start, but I want a full tutorial on how to turn that page into an actually useful first page for a logged-in member of a website.
There are none. Or at least none that show how to do some simple things I want to do that don't seem to be working.
I would like to use the JQuery UI library (effects) on a specific page of my website to slide divs in different directions.
The view on that page will use a hook to attache the necessary libaries:
function levelplus_preprocess_views_view_list__support_items(&$variables) {
$variables['#attached']['library'][] = 'levelplus/isotope-support-filters-init';
}
The theme.libaries.yml file will include the dependencies:
I'm quite new to Drupal 8 and Drupal in general and I'm stuck at some point on a website for a client.
I created a global layout with a custom theme I coded myself, and added a custom content type for the home page. I have almost exactly what I want except for :
I am trying to create a template for a paragraph type name is "hero Image". I have added three images in this paragraphs type.
create a new template for this type. template name is "paragraph--hero_image.html.twig"
When I render the page its rendering whole template code three time. I would like to add a wrapper div/class above this template render. How can achieve this.
here is the template code