Mark,
I assume you're doing something like this:
#header {
background: url(<r:attachment:link name="background.gif") top left
no-repeat;
}
Just make sure that the Radiant page that has your CSS is included in
base Layout for all of your pages via a <link> tag:
<link rel="stylesheet" type="text/css"
href="/stylesheets/my_stylesheet.css" />
Note that you can edit the slug of the page to change its "extension",
and you should set its layout to be of content type "text/css".
Cheers,
Sean
Mark Fischer wrote:
> Has anyone found a way to work with a CSS background image where it
> can be inherited site wide, unless overwritten. I am using the
> page_attachment extension, created a content part named image_header,
> where I only have the URL code for the header image for that page. I
> then pull that into the CSS file. In theory, I was hoping that every
> page would inherit the home page's URL (which it does), however, when
> I try and make a sub section header change, it does not take. Does
> anyone have any other ideas or know why this might be? I need the
> image to be in the CSS for formatting reasons. Otherwise it would be
> downright easy.
> -Mark
>
>
>
>
>
>
> On Jul 17, 2007, at 8:01 AM, Sean Cribbs wrote:
>
>
>> Michael,
>>
>> No, but I did something similar for KCKCC with the LDAP extension.
>> All
>> contact information was stored in the campus-wide LDAP directory.
>>
>> Sean
>>
>> Michael Pyschny wrote:
>>
>>> Hello Radiant Developers
>>>
>>> Has somebody already written or heard of a contact data extension
>>> with
>>> all the wonderful (required) tags?
>>>
>>> Cheers
>>> Michael
>>> _______________________________________________
>>> Radiant mailing list
>>> Post: [email protected]
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>>
>>>
>>>
>> _______________________________________________
>> Radiant mailing list
>> Post: [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>
> _______________________________________________
> Radiant mailing list
> Post: [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant