Module suffix "graybg" not working for bottom1-2+

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
Thu Apr 17, 2014 7:59 pm
Reply with quote
Report this post
Hallo,

At http://www.atcosim.com/WIP/ I am laying out the website and trying to use the "graybg" module suffix on a onepage set template on the bottom1-2 and bottom1-3+ will not yeld any results. Seeing the CSS it requires two classes: .box.graybg

The resulted CSS code after adding the module suffix graybg is:
Code: Select all
<div id="gkBottom1-3" class="box graybg gkmod-4">

I can't see why it wouldn't work but it doesn't.

Thank you.
Eric Bocaneanu

PS. While you are there can you let me know if the code I used for left/right image layout + animation looks proper? I just need to set some paddings to arrange it and resize the pictures.
User avatar
Fresh Boarder

GK User
Thu Apr 17, 2014 8:19 pm
Reply with quote
Report this post
Hi,
add this new line of css:
Code: Select all
.graybg {  background:   #F8F8F8; }

It should help :geek:
User avatar
Platinum Boarder

GK User
Thu Apr 17, 2014 8:30 pm
Reply with quote
Report this post
Dziekuje Pawel,

That was a quick answer. I have added and it works but it still doesn't make sense why it needed this.

template.css at line 464 has this:

Code: Select all
.onepage .box.greybg {
    background: none repeat scroll 0 0 #F8F8F8;
}


Since everything is in one big .onepage class module and the class for the respective module is both "graybg" and "box" it should have worked without adding this.

Cheers,
Eric
User avatar
Fresh Boarder

GK User
Thu Apr 17, 2014 8:33 pm
Reply with quote
Report this post
I'm not sure also, I don't create those styles. I'm happy that I could help so fast.
User avatar
Platinum Boarder

GK User
Thu Apr 17, 2014 8:42 pm
Reply with quote
Report this post
As usual it was me :) gray versus grey :)

Sorry for the bother.
User avatar
Fresh Boarder


cron