rSOLVED ight colunm style

Unique Joomla 1.5 template with powerful navigation and stunning design discussion forum
GK User
Mon Jan 11, 2010 3:13 am
Hello,
I have a problem with the right column, the system doesn't always use the gray background and sometime doesn't even display the right column at all.

This is the website,

http://www.archercreative.com.au/web-ip/


And I would like to have all the pages like this, with the right colunm and grey background.
http://www.archercreative.com.au/web-ip/contact.html

But I've checked all the module and tried to use module suffix...it didn't change anything.
It looks like the page linked from the home page (a part of one - eMarketing article ) didn't picked up the css template.
Also, it looks like all the page created after the module didn't pick up the style.

Thanks for your help

Xavier
User avatar
Fresh Boarder

teitbite
Mon Jan 11, 2010 9:16 am
Hi

There is hard coded style with this background attached to <div id="content_wrap">. There will be nothing wrong, but sometimes the module is downloaded from different file and then You need to change url to the background from url(/forum/templates/gk_pulse/images/style1/bg_r.png) to url(../templates/gk_pulse/images/style1/bg_r.png). One dot makes this bug. To avoid this simply put it in style.

Add this to template_css.css

Code: Select all
div#content_wrap {
background-attachment:scroll;
background-color:transparent;
background-image:url(../images/style1/bg_r.png);
background-position:-320px 0;
background-repeat:repeat-y;
}


please also remove the hard coded style from this element (not neccessery, but won't generate the validate error).


I did not notice the style or column vanishing.
User avatar
Moderator

GK User
Tue Jan 12, 2010 2:09 am
Hello,
thanks for this reply.
I've tried to do what you've said but I think I did something wrong because I had then another bug (see screen shot here: http://archercreative.com.au/Bug-pulse-%20Screen-shot-2010-01-12.jpg).

Also, I couldn't work out on which page is this

You need to change url to the background from url(/forum/templates/gk_pulse/images/style1/bg_r.png) to url(../templates/gk_pulse/images/style1/bg_r.png). One dot makes this bug. To avoid this simply put it in style."


Where is is exactly?

Lastly,
"please also remove the hard coded style from this element (not neccessery, but won't generate the validate error)."


Thank you again for your time.




Xavier
User avatar
Fresh Boarder

teitbite
Tue Jan 12, 2010 9:41 am
Hi

Add this code at the end of the templates/gk_pulse/css/template_css.css

Code: Select all
div#component {
background-color:#ffffff;
}

div#left{
background:url(../templates/gk_pulse/images/style1/bg_r.png) repeat-y 0 0;
}


I cannot check it right now. But if it works its going to solve everything (hope).
User avatar
Moderator

GK User
Tue Jan 12, 2010 11:08 pm
Hello,
I tried...it didn't work :(

it didn't change anything...

please check online.
http://www.archercreative.com.au

Any other ideas?

thanks
User avatar
Fresh Boarder

GK User
Tue Jan 12, 2010 11:45 pm
Yes, open template_css.css and edit this:
Code: Select all
div#right {
float:right;
padding:0 0 18px 1px;


change to this:
Code: Select all
div#right {
background:#YOURCOLOR url(../images/style1/bg_r.png) repeat-y scroll 0 0;
float:right;
padding:0 0 18px 1px;

Please, make sure that you put your color number or valid url to image.
User avatar
Senior Boarder

teitbite
Wed Jan 13, 2010 12:03 am
Hi

We've done it by skype.

But problem with disapearing colmn at link still exist.
User avatar
Moderator

GK User
Wed Jan 13, 2010 1:11 pm
Well this can be cause by improper ItemID selection. This can be solved by playing with menu items....so you can create menu item that is linked to some content category or section and inside module that is in right column you define to show it on this menu item. Next you unpublish menu item, but you should still be able to see that column when you access article that belong to this category/section.
User avatar
Senior Boarder

GK User
Fri Feb 12, 2010 8:59 am
I noticed that the bg_r.png only shows on some pages with the SEO Settings to "Yes" and I get a "Resource interpreted as image but transferred with MIME type text/html" warning.
But it works well and shows up on all pages using the right column when SEO Settings are set to "No" and without a warning.

Is this due to the style being hard coded in the gk_setup.php file?

I really would like to keep SEO Settings on.

Please help.

Thanks
User avatar
Fresh Boarder

GK User
Fri Feb 12, 2010 4:46 pm
teitbite wrote:
Hi

There is hard coded style with this background attached to <div id="content_wrap">. There will be nothing wrong, but sometimes the module is downloaded from different file and then You need to change url to the background from url(/forum/templates/gk_pulse/images/style1/bg_r.png) to url(../templates/gk_pulse/images/style1/bg_r.png). One dot makes this bug. To avoid this simply put it in style.

Add this to template_css.css

Code: Select all
div#content_wrap {
background-attachment:scroll;
background-color:transparent;
background-image:url(../images/style1/bg_r.png);
background-position:-320px 0;
background-repeat:repeat-y;
}


please also remove the hard coded style from this element (not neccessery, but won't generate the validate error).


I did not notice the style or column vanishing.


This solved the problem with the bg_r.png not showing up in some pages when SEO is turned on. :)
User avatar
Fresh Boarder

GK User
Thu Jun 23, 2011 12:26 pm
Hi

I'm having the same problem. I want all pages to display the right column (grey bg) like it does in the "correct" screenshot attached. At the moment it is displaying it like the "wrong" screenshot.

It used to display only the homepage's column correctly and rest with the white bg but after trying some of the corrections above all the pages are showing the wrong bg now.

I also attach my template_css.css

Website is at http://www.siroccostrategy.com/index.php/


Please help!

[attachment]PULSE right column wrong.png[/attachment]

[attachment:2]PULSE right column wrong.png[/attachment]

[attachment:3]template_css.css[/attachment]
User avatar
Junior Boarder

GK User
Thu Jun 23, 2011 12:28 pm
Not sure if these were uploaded correctly. (Attacments for previous post)
User avatar
Junior Boarder

GK User
Thu Jun 23, 2011 10:09 pm
Hi

I'm not sure what you want... you need right column with grey background?
If so, the only way is to add for example this lines on template.css file.

Code: Select all
#content_wrap {background-color: #ccc!important}
#component {background-color: #fff;}


screen_2011-06-24.png


Cheers ;)
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.