background image different modules

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Sep 21, 2015 10:54 am
Reply with quote
Report this post
Dear,

I hope you can help me out with my problem. I am using the John template and I want to adjust per module position the background.

From the forum and your help pages I understand that I must change my override.css (I know it and where to find/place it) and that I can add the suffix top the module (read the part about the gradient and when I add this to my override.css it works).

Unfortunately I haven't been able to set the background of the module as I want to, even after reading some CSS styling pages. I also tried to set the image of the background via the tab of the module but this only results in the inner block changing to the picture and not the whole background of the module.

Could you please help me out how to achieve this? Thank you.
User avatar
Fresh Boarder

teitbite
Thu Sep 24, 2015 11:49 am
Reply with quote
Report this post
Hi

Please tell me the url to Your site and tell me under which module You wish to change this background.
User avatar
Moderator

GK User
Thu Sep 24, 2015 7:55 pm
Reply with quote
Report this post
Hi,

First of all thank you for replying.

One of the modules can be found at http://salonaileen.nl/#massage: when I here choose for a background picture via de module itself, it only changes the text part and the rest stays the current color.

I would like to have a background picture behind the whole module, not depending on what is in the module like a table or whatsoever.

Mark
User avatar
Fresh Boarder

teitbite
Mon Sep 28, 2015 11:59 am
Reply with quote
Report this post
Hi

Since this module has an unique id You can use code like this:

Code: Select all
#massage {
background: rgba(0, 0, 0, 0) url("../images/bg.jpg") repeat scroll 0 0;
}
User avatar
Moderator

GK User
Mon Sep 28, 2015 12:26 pm
Reply with quote
Report this post
Dear Teitbite, this solution works fine for me! Thank you!
User avatar
Fresh Boarder

teitbite
Tue Sep 29, 2015 3:42 pm
Reply with quote
Report this post
Hi

Great to hear it :) Happy I could help.
User avatar
Moderator


cron