Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have problems with styling the Barrio SASS Subtheme. I copied the Subtheme and changed some filenames and entries as described in the available documentation.
So, I make changes at the style.css, run gulp at my lcoal machine and upload the file via ftp. For example I change the H1 color. At the variables.scss I change $accent-shade to the desired color, because im the style.scss I have "h1 {color: $accent-shade;}". This works.
But I do not understand why in the browser console the value comes from style.scss and not from the style.css?
I'm not original developer of the site but trying to solve this problem. I have a custom content type (lets call it my-page) so I was able to set up a Colorbox for Image field within this content type. So normaly when I open /node/1234 which is this type everythng works.
Hi there - apparently my CSS, and so skills are very rusty. Anyway I am trying to add a logo, with a transparent background, but apparently the Batik theme, the background is inheriting #ffffff, as I understand - but regardless of where I edit in the CSS, the logo pops up with a white background and not the transparent, so the gradient behind is not visible.
Can anyone show me, where to edit the CSS, or how to make the background transparent, and not white? (preffered before I toss my laptop out of the window)
The topic has not been updated for almost a year, when I give rights to edit the nodes, with the barrio theme, the layout looks awful help fix when I used the bootstrap3 theme.
When I go to the node editing page, by the user. How to change a button and its position. I turned on debug, saw the path form-element-label.html.twig, but when it was replaced from bootstrap3 theme, the button remained in "()"
Scenario: I have a custom menu, full of links defined by an end user.
It's inside a custom block, also defined by an end user.
The block has a title the user picked.
I need to have a variable in menu.html.twig that contains the title of the block, as picked by the user.
So, if Sally creates a block named "Avast!" and then places a menu inside it full of links to pirate-themed web sites, I want to be able to put something like {{ block_name }} into menu.html.twig, and have it result in the phrase "Avast!"