This forum is for assistance with theme development.

Different page layouts handling in CMS in Drupal 8

I have to create almost 10 pages which have different page layouts i.e one has 2 column, another 3 columns, another 24%/75%/25% and so on. Few have side bars and few don't. Few also have js effects applied and few don't. All pages are unique in structure and not uniform.

My question is.....

by using a custom theme how can I create and manage those pages?

BTW I have used Design Studio module but it doesn't cover all mentioned above.

Not sure if I create my own template file for each node / page and manage?

How to add markup around comment number in teaser links

I am trying to display the number of comments in the node teaser links as a comment bubble with the number only. In order to do this I need to get some markup around the number and the "comments" text, so I can hide the text and display the number inside the icon. I am trying to do this using hook_preprocess_links but I can't figure out how to override the link text do add the markup I need. I've gotten this far:

Printing node label inside field.html.twigh

Hello,

I'm trying to print the node label in my field.html.twig template and in field collection without the span wrapper around it.

i'm trying {{node.label}} but not working

is that can in field or what i can do to print page title , node title inside field ?

create two columns and keep the polaroid frontpage

Hello,

I work on this website www.cafeandbanana.com .

I should create a second column only in the frontpage and add the contents that have a specific category( I use taxonomy) into that column.

I use the DAN theme , and it has a really cool polaroid content display. I wanna keep this and add an extra column. Like here picture.

Slideshow and node navigation as Portfolio

Hello,

I started learning drupal 6months ago and I'm having my first issue and I can't find a correct solution.
In order to avoid influencing I will not explain what I've tried but only what I would like hoping you know how to do it.

So the short version is :

I do not show the contents of my basic page or article

Hello, my english is not good but i have a problem in my visualization in my basic page, article or any content type that created.
I am use a theming custom, but each time I make a content type and save it does not see any of the fields and yes, I have configured the display manage well.
The problem is is related to html.html.twig or i should add other file type tiwg? Please help me.

Pages

Subscribe with RSS Subscribe to RSS - Theme development