This forum is for assistance with theme development.

Overriding Individual Bootstrap CSS attributes

Hello,

I am trying to create a custom sub-theme using Bootstrap and Drupal 7.

I went for Method 2: Te bootstrap CDN as described here. https://www.drupal.org/node/1978010

I want to be able to change some of the css in the min-bootstrap css without having to totally re-invent the wheel. Any custom css I put in Style.css is working but not when I want to "turn off" something - like for example have no background color in a navbar.

background stretching due to image mapping code - problem solved

I have been experiencing an issue with my node background stretching when I use image mapping and put the mapping code in the body field of my pages. I figured out the fix and thought I would pass along this information in case anyone else runs into this. What I did was look at the html output of the pages on my local server using Firefox Web Developer/inspector (found under the Firefox tools tab). I identified the div where the node background was rendered (in my case it was div class=content) by selecting the divs until the one I was looking for highlighted.

How to change block width to match sidebar width?

I've changed the sidebar width in "template.php" and "layout.css" so it's wider. However, the block width remains the same and I've looked through every file in .../amadou can't find a way to adjust the block width to fit the sidebar width.

For example, sidebar width is about 400px and text in block uses only about 1/3 of 400px. How do I change the block width so it's the same size as the sidebar width?

Drupal 6.x
Amadou theme 6.x

Thanks.

[Drupal 8] create a link from route-name in twig

Hello, I would like custom the default menu in Drupal 8.

user-profile VS page--user.tpl

Can someone tell me the difference between user-profile.tpl.php and page--user--.tpl.php.

Pages

Subscribe with RSS Subscribe to RSS - Theme development