This forum is for assistance with theme development.

How to add some codes in head tag

I want to add some lines, like <link href="https://fonts.googleapis.com/css2?family=Anton&display=swap" rel="stylesheet"> in to <head> section.

I created already a sub theme with parent theme tara. I found that in tara theme it was html,html,twig to handle it. So I set up the same path as tara. folder templates > folder layout > html.html.twig.

But once I copied the inside content of tara's html.html.twig, my website can't be displayed. 

Views: How to fix duplicate field display?

My theme includes a View that  displays certain fields in table format. Nodes include two text fields: "employee" and "title". The goal is to display the "employee" and "title" in a single row. For example:

Joe Smith  CEO.

The problem is that the fields are displayed twice:

Joe Smith CEO

Joe Smith CEO

The info is retrieved from two text field in each node: "employee" and "title". I've tried grouping the fields, aggregating the fields and similar possible solutions - all to no avail.

Fixing 431 Error: Request Header Fields Too Large?

I went to edit a View and got the message: "The server refused this request because the request header fields are too large." I had edited the View several times in the past, without this error. First, what causes the error -- and how can I fix it?

Thanks.

Twig + testing a string field value

Hi All,

Been beating myself up with for a few hours, so decided the best thing to do might be to post something.

I have the following code:

Server 403 error display default server message instead template

I set specific node for 403 and 404 error as /node/5 and it works for regular urls like example.com/sitesdfgf, but when request example.com/sites or example.com/privatefiles shows default server 403 page

How to put meta naem="title"

Im using Metatag module and there isnt any field for meta title. currently I use default content title for pages that shows in tab bar, but i need different value for meta title. I need 1 word title for tab bar as page title and a sentence for meta name as <meta name="title" content="a sentence here"> but only have page title, description, keywords and abstract in module configuration

Pages

Subscribe with RSS Subscribe to RSS - Theme development