Styling New Module Position

Professional Joomla social template with metro design and JomSocial extension support.
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 Jun 23, 2014 10:12 pm
Reply with quote
Report this post
Hi,

I created a new module just above the bottom1 position called bottom. I require this module to be full width, and have the same styling as the main body_bottom module.

The site is www.rurallondoner.com

I have assigned 4 modules to this position, Product Reviews, Campaigns, Events and Discussions.

I am nearly there, but the last thing I am having problems with is the styling. I've searched the .css files and have added gkBottoma wherever I see gkMainbodyBottom.

If you look at the site, you'll see that the bottoma module has not picked up any of the correct styling. Can you please help?

Thanks,

Eric.
User avatar
Junior Boarder

teitbite
Tue Jun 24, 2014 8:43 am
Reply with quote
Report this post
Hi

I do not see even one selector #gkBottoma in css, are You sure cache is disabled and changs to the files are visible ?

Anyway, why don't You use mainody_bottom position instead?
User avatar
Moderator

GK User
Tue Jun 24, 2014 9:16 am
Reply with quote
Report this post
Hi,

Yes, the CSS cache is disabled. I was using mainbody_bottom, but I require the module to be full width without the sidebar to the right.

Perhaps an easier way would be to re-create one of the bottom(x) modules. I already did this successfully and added the CSS. However, when I do this then the module style 'light' does not work.

If you could tell me how to over-ride the module styling for bottom1, bottom2, etc and make the style suffix 'light' work, then this might be an easier way. Please let me know.

Thanks,

Eric.
User avatar
Junior Boarder

GK User
Wed Jun 25, 2014 10:48 pm
Reply with quote
Report this post
Hi,

Can you please review my previous suggestion. Would this work?

Thanks,

Eric.
User avatar
Junior Boarder

teitbite
Fri Jun 27, 2014 10:02 pm
Reply with quote
Report this post
Hi

In template settings You will find a module styles override. Just add Your new module pasition name and use "gk_style" for override. This will allow using suffixes.
User avatar
Moderator

GK User
Sat Jun 28, 2014 10:38 pm
Reply with quote
Report this post
Hi,

I got most of it working. The new module is called Bottom11 and sits just above Bottom1. However, it will not let me use the 'light' suffix - it just appears white. However, it lets me use the 'color' suffix. Any ideas?

Look at www.rurallondoner.com

Eric.
User avatar
Junior Boarder

teitbite
Tue Jul 01, 2014 9:23 am
Reply with quote
Report this post
Hi

Now I see why " light" is not working. You have override this style with this line in template.css:

Code: Select all
#gkBottom11 .box, #gkBottom1 .box, #gkBottom2 .box, #gkBottom3a .box, #gkBottom3 .box {
    background: none repeat scroll 0 0 #fff;
}


but no worry, just override it again by adding this code at the bottom of this file:

Code: Select all
#gkBottom11 .box.light, #gkBottom1 .box.light, #gkBottom2 .box.light, #gkBottom3a .box.light, #gkBottom3 .box.light {
    background: none repeat scroll 0 0 #f0f0f0;
}
User avatar
Moderator


cron