I have a problem with the text in a block.
The background is an image and the text needs to be in the grey area.
The theme I work with is Danland.
Can anyone help me with this problem?
Thank you

Comments

f4o’s picture

It is hard to visualize your problem without seeing that block and source code. Maybe URL of your site can help to understand your dilemma.

If you need additional html tags, you can put custom tpl.php file for that block in your theme and create additional wrapper

tags to accomplish exactly what you want. To create separate tpl.php file for your block check documentation for further instructions.
KVL’s picture

Oh I tought I included the URL, it's compasscharter.net/drupal

f4o’s picture

Let's focus on your first column only. Try to replace .what css class with this:

.what {
    background-image: url("blocks/homepage_blok1.png");
    background-repeat: no-repeat; /* this is new */
    height: 400px;
    padding: 30px; /* this is new */
    width: 300px;
}

Is that what you need?

KVL’s picture

Yes it worked! :D Thank you so much for your help!