This forum is for assistance with theme development.

No Way to Select(css) Parent of Active Menu (Superfish)

I need to change the background of the parent li element for a submenu anchor element with the is-active" class.  How do I add a "current" class to the parent li element? (that's one way to do it)

I don't think there's anyway to do it just using css and the existing classes that are available.

Why doesn't the Barrio theme (Bootstrap 5) support drop down menus? That's why I'm using Superfish. Bootstrap 4 supported drop down menus.

themes not working for anonymous users

Hi, I tried installing two different themes (Creative Responsive Theme - https://www.drupal.org/project/creative_responsive_theme and Professional Responsive Theme - https://www.drupal.org/project/professional_responsive_theme). When I apply each of them, they work for me when I'm logged in. However, when I try to access the website while logged out, I get a "The website encountered an unexpected error.

NO RESULTS BEHAVIOR doesn't render on a grouped field table (view)

Hello, i have a problem with my drupal 8 page. 

I have created a view with:

  • Thumbnail
  • Title of the object
  • Media type
  • Year (taxonomy)
  • Link to download
  • Edit link for admin

This yields a table. With also 2 filters on Media type and Year. 

So now to my problem. 

When i use it as a plain table (no grouping used) i can use NO RESULT BEHAVIOR and when i filter on a media type which the table doesn't have or a year that isnt added i get a response. 

SOLVED -- Classy-based custom theme not working

Hi, I'm attempting to learn Drupal through the book Drupal 8: Enterprise Web Development by Nick Abbott. In Module 2 chapter 5, the book has us create and install a custom theme based on Classy. I copied and pasted the code directly from the book; however, when I did so and then set the custom theme as default, I did not see anything other than bare HTML without any CSS or JavaScript. 

The mytheme.info.yml file is:

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.

Simple page without theme libraries

This might be a very simple question to answer

I have a bootstrap based theme with multiple libraries.

I need to create a page template that does NOT attach all those libraries & CSS from the theme.

I this blank page template to generate PDF files from it with an external tool, so I don't want to bring all this CSS JS, I want to stay simple.

Do I really need to create an extra blank theme for this, of there is a way to ignore all those in this particular page--pdf-base.html.twig file?

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Theme development