This forum is for assistance with theme development.

New to Drupal / Web development. Trying to update homepage template.

Hi I’m helping out my running club by making some changes to their website.
Although I have an IT background, it’s not web development and am a little stuck.

Hoping this is the right thread / if not please point me in the right direction.

My objective is to update our home page so that instead of showing just one static image it changes every few seconds to show a new image.

ADMIN templates

Can anyone suggest where can I find nice ADMIN templates / themes?

I am not interested to use current admin themes which come by default with Drupal installation.

Type of content

Hi.
I have this problem. I use the startupgrowth_lite theme.
If I create a new type of content, the content it puts seems to be boxed, that is, as if the side bars were active with content. If I use the basic page I do not find this problem.
How can I fix it?
Thanks in advance.

Drupal 8 - How to change views block id and use it as Menu link?

I've views block with id=block-views-block-services-block-1 which I used it in the menu link.

The menu link is now shown as https://demo59.com/gb/#block-views-block-services-block-1

As you can see it's really not looking nice with long hyphened words, is there any easy way to change it to something like this https://demo59.com/gb/#services

Different layouts for different content types

For one single project, I have different page layouts design / html which I want to use for different content types.

Can someone advise what are the best practices in D7 to achieve this?

I was reading and not sure if any of these below are the correct way to follow;

https://drupal.stackexchange.com/questions/16573/node-template-only-on-s...

core/jquery not working

Hi, I am very new to drupal and I need to call jquery.

I added this to mytheme.libraries.yml:

mysubtheme:
  css:
    theme:
      css/slippry.css: {}
    header: true
    js:
      js/slippry.js: {}
  dependencies:
      - core/jquery

All tutorials say this should call jQuery but for me it does not. The only way I can get my jQuery to work is if I put the script src=//jquery-url to my page.html.twig file, and I do not want to do this as jquery should be loaded client side.

Pages

Subscribe with RSS Subscribe to RSS - Theme development