This forum is for assistance with theme development.

How can I make the CSS visible in a subtheme?

Hello,

How can I make the CSS visible in a subtheme? I’ve tried everything, but I haven’t been able to figure it out. Does anyone have tips or could someone help me with this?

Thanks in advance!

Mark

creating own custome theme CSS, js files not loading only parent theme files are loading

I am using olivero as parent theme and trying to create my own custom theme (gva). In my pages, the custom theme CSS, js and static images are not loading, only olivero css, js files are loading. I can not find out where am I doing the mistake. Please help!!!

FAQ page

I am trying to make the FAQ in a FAQ page appear and disappear. I followed this tutorial here (https://www.youtube.com/watch?v=8It3O3whDVg) but I cannot have the jQuery UI accordion in the views option to select it. I downloaded and installed the jQuery UI and jQuery UI accordion modules and they are installed but I still cannot find it in the views. There was another video that I watched where they mentioned to tick a box in the full HTML page from the content authoring in configuration.

How do I remove span tag from node title markup?

In my olivero subtheme (d10)

at node--teaser.html.twig I have

  {% block title %}
    {% if label and not page %}
      <h2{{ title_attributes.addClass('node__title', 'teaser__title') }}>
        <a href="{{ url }}"  title="{{ node.label }}" rel="bookmark">{{ label }}</a>
      </h2>
    {% endif %}
  {% endblock %}

This worked fine in drupal 8-9 but now it outputs

Menu not appearing on the front page

Hello

I am having difficulties setting my menu links. I added a few links on the main navigation menu. They have been enabled and linked to the front page. However, I don't see them on the front page. Can anyone please help? Thank you.

Subtheme Olivero

Hello,

I have installed a Drupal 10 with the Olivero theme. I was going to modify the CSS directly on the theme but then when I download updates I will lose the changes.

To avoid losing these changes I have created a subtheme but it does not inherit the CSS from the original theme and I only want to make some color adjustments, etc...

What do you recommend I do? Would it be better to use another theme with a subtheme generator? Which one? The website is a simple personal blog without too much functionality.

Thank you very much

Pages

Subscribe with RSS Subscribe to RSS - Theme development