View Full Version : CSS is importing but not using absolute links

07-01-2009, 02:16 AM
Hi all,

I have imported the CSS into GAZ and in my newsletter the view code (viewed from outlook) shows me that the url is truncated and does not include the path to the domain...

background: #50991f url(talkstuff/misc/cattitle_bg2.gif) repeat-x top left;

It should look like this;

background: #50991f url(http://www.mywebsite.com/forum/talkstuff/misc/cattitle_bg2.gif) repeat-x top left;

Can anyone point me in the right direction.. thanks:)

07-01-2009, 10:50 PM
I am really battling with this and would appreciate some help from anyone at thevbgeek. I have spent several hours figuring it out as the wiki is down and there is no manual with this. Most of it I have been successful with but I need direction with this....

I have edited the Extended inline style for my forum to include;

background-color: #50991f;color: #FFFFFF;font-size: 10pt;font-size: 10pt;font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;url:http://www.mywebsite.com/forum/talkstuff/misc/cattitle_bg2.gif;


background-color: #50991f;color: #FFFFFF;font-size: 10pt;font-size: 10pt;font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;url(http://www.mywebsite.com/forum/talkstuff/misc/cattitle_bg2.gif);

I have recreated the newsletter just in case it needed to pull new style info. Yes I have also reset data before sending. Yet when view the source in the email the ABSOLUTE parth is NEVER included.

Please advise how I get the CSS to include the absolute path. I am sure I am just doing something dumb, or have not got the correct syntax.

Many thanks

07-02-2009, 03:54 PM
The GAZ template have $stylecss variables that use the GAZ ACP Inline Style Info. Via the ACP -> vBulletin Options -> General Settings set Add Template Name in HTML Comments to yes, then Refresh Layout via the ACP -> GAZ -> Issues, and then look at the HTML source to see what template is being used where. You can then look at the template via the ACP and see whether there are any $stylecss variables in that template for what you are trying to change.

When using the GAZ ACP Inline Style Info, you select the style and then select the style from which to load CSS values. In the "Extended inline style info for X Style" section will appear the CSS and if you want to change that CSS, you need to make sure that you save the changes using the save button at the bottom of the section. Afterward you need to Refresh Layout via the ACP -> GAZ -> Issues to see the changes.

07-06-2009, 11:55 PM
Thanks Morgan,

I found by entering the absolute path under ACP>Style Manager>Main CSS the email that went out including the absolute path. Did not know about the Add Template Name in HTML Comments but seems I did that in a round about way :)
Many thanks.