Different background colors

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
Tue Apr 08, 2014 9:44 am
Reply with quote
Report this post
Is possible to have different background colors in the "My cozy blog" module (ex. green, yellow, violet...)
User avatar
Senior Boarder

GK User
Tue Apr 08, 2014 1:02 pm
Reply with quote
Report this post
Please edit: /templates/gk_john/css/override.css and add at its end:
Code: Select all
#gkBottom3 .box.color-bg {
background: #f00;
}


Please adjust colour code to your liking.

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Fri Apr 11, 2014 7:36 am
Reply with quote
Report this post
Hi, how about in other parts of the frontpage? For example, if I have "my works" hidden, and set the Home to a EasyBlog login, there's grey in the background and I can't find where it is.

I tried this in override but didn't work: Any suggestions?

#gkMainbody .box.color-bg {
background: #fff;
}
User avatar
Junior Boarder

GK User
Fri Apr 11, 2014 12:25 pm
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Wed Apr 16, 2014 11:56 am
Reply with quote
Report this post
Hi Cyberek,
it's me again ;-), same issue.
Is it possible to use the picture http://www.callewaert.de/joomla3/images ... mmoper.jpg as background in the "check out my hot works" module?
www.callewaert.de/joomla3

would be great!
thank you
User avatar
Fresh Boarder

GK User
Thu Apr 17, 2014 3:23 pm
Reply with quote
Report this post
@jcallewaert:
Code: Select all
.frontpage #gkPageContentWrap {
background: #f1f0f0 url('http://www.callewaert.de/joomla3/images/photos/background/Schwimmoper.jpg') repeat 0 0;
}

This will do the trick.
User avatar
Moderator

GK User
Sat Apr 19, 2014 10:57 am
Reply with quote
Report this post
Hi, I am configuring my site i have a problem in config. Staff I can not change the color. As we can fix this. I've cleaned the cache template i cleaned all the cache site ...
User avatar
Senior Boarder

GK User
Mon Apr 21, 2014 10:23 am
Reply with quote
Report this post
@Bixter - what changes have you did?
Could You please post an url to your site?
User avatar
Moderator

GK User
Mon Apr 21, 2014 12:40 pm
Reply with quote
Report this post
Cyberek wrote:@Bixter - what changes have you did?
Could You please post an url to your site?

Reinstall the site from scratch and already fixed.
User avatar
Senior Boarder

GK User
Tue May 06, 2014 10:45 am
Reply with quote
Report this post
Cyberek wrote:@jcallewaert:
Code: Select all
.frontpage #gkPageContentWrap {
background: #f1f0f0 url('http://www.callewaert.de/joomla3/images/photos/background/Schwimmoper.jpg') repeat 0 0;
}

This will do the trick.


Dear Cyberek,

according to your advice, I edited the file "/css/override.css" in template "gk_john_s"
like this:

/*
#------------------------------------------------------------------------
# John S. - March Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2014 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: [email protected]
*/
CODE: SELECT ALL
.frontpage #gkPageContentWrap {
background: #f1f0f0 url('http://www.callewaert.de/joomla3/images/photos/background/Schwimmoper.jpg') repeat 0 0;
}

"CSS override" in template settings is enabled.

What am I doing wrong??
User avatar
Fresh Boarder

GK User
Tue May 06, 2014 6:16 pm
Reply with quote
Report this post
"CODE: SELECT ALL" is a part of code widget allowing you to select entire code - you should not copy that to override.css!.
User avatar
Moderator

GK User
Wed May 07, 2014 9:29 am
Reply with quote
Report this post
Thanks Cyberek, we are one step closer again!

Actually, my aim was to display the picture "Schwimmoper.jpg" only in the "Check-out-my-works" Module. Actually, it appears also in other modules.

You can check it at www.callewaert.de/joomla3

I would like to display different pictures in different modules:

- Check-out-my-works: Schwimmoper.jpg
- Blog: City.jpg
- Don´t hesitate to contact me: Doeppersberg.jpg

Can you give me an advice how to configure this?

btw, you've been very helpful by now, thank you!
User avatar
Fresh Boarder

GK User
Wed May 07, 2014 6:15 pm
Reply with quote
Report this post
You can use page suffixes that adds custom class to body element. Then you can prepare different css declarations with use of that custom classes.
Please see this documentation:
http://www.gavick.com/documentation/gen ... mla-pages/
User avatar
Moderator

GK User
Thu May 08, 2014 11:35 am
Reply with quote
Report this post
I´m sorry Cyberek, but this - even after reading everything 5 times - is Chinese to me :shock:

However, I didn't gave up and tried it another way:

#gkBottom5 {
background-image: url('http://www.callewaert.de/joomla3/images/photos/background/Doeppersberg.jpg');
}
#gkMainbody {
background-image: url('http://www.callewaert.de/joomla3/images/photos/background/Schwimmoper.jpg');
}
#gkBottom3 {
background-image: url('http://www.callewaert.de/joomla3/images/photos/background/Flohmarkt.jpg');
}

For the Modules bottom5 and Mainbody, this is working perfect. But for the Bottom3 (Blog Module) I cannot make the picture appear. Can you give me another hint?

Another Question: How can I change the font colour of the title ("Ich freue mich auf Sie") in the Contact Module (Bottom5)?

Thanks again for your patience.
User avatar
Fresh Boarder

GK User
Thu May 08, 2014 6:23 pm
Reply with quote
Report this post
Its becaouse inner element has also background set.
Code: Select all
#gkBottom3 .box.color-bg {background: transparent;}

It should clear its background color.
User avatar
Moderator

GK User
Thu May 08, 2014 7:11 pm
Reply with quote
Report this post
Where can I spend you a beer? You are my hero! :woohoo:

Would be great if you could help me with this prob:
How can I change the font colour of the title ("Ich freue mich auf Sie") in the Contact Module (Bottom5)?
User avatar
Fresh Boarder

GK User
Sat May 10, 2014 1:09 pm
Reply with quote
Report this post
Add this line to override.css:
Code: Select all
#gkBottom5 .box h3 {color: #fff;}

Change #fff to your liking ;).
User avatar
Moderator


cron