Hi,

i'm adding pictures in blocks at the bottom of my drupal 8 website. But my bottom as a color brackground and we can see the block limits, the borders... Like a blank line. Why and how can i remove them easely ?

Comments

pixelsweatshop’s picture

you will have to create your own subtheme and then modify the css.

cofaure’s picture

I can't change bartik theme code?

pixelsweatshop’s picture

You can edit it directly but then when you go to update drupal, you will overwrite your changes. It is recommended that you create a subtheme of any core/contributed theme so you can override with your own css, js, etc..

https://www.drupal.org/docs/8/theming-drupal-8/creating-a-drupal-8-sub-t...

cofaure’s picture

Mmh and can i create a subtheme with bartik code ? I don't want to create a totally new theme, just need some modifications

pixelsweatshop’s picture

As I said previously. You modify bartik directly but then when you go to update drupal, you will overwrite your changes. It is recommended that you create a subtheme of any core/contributed theme so you can override with your own css, js, etc. A subtheme inherits everything from the parent theme and allows you to override it.

Do what you want, but I am showing you best practices so you don't mess things up.

cofaure’s picture

Ok it's the best way to do this, i'll try, thanks

pixelsweatshop’s picture

Once you have setup a subtheme, learn to use the inspect tool or firebug to determine which css to override. http://www.w3resource.com/web-development-tools/inspect-and-edit-HTML-an...