Looks to me that the link to your stylesheets cant be accessed by
RedDot
<style type="text/css" media="screen">
@import url(/styles/global.css);
</style>
Ive used the import method many times without any issues - as long as
you use an anchor placeholder and create a link to a new page which
contains the styles you want to implement.
Would look something like this:
<style type="text/css" media="screen">
@import url(<%anc_styles%>);
</style>
or alternatively - no need to use an import if you replace it with a
container - and connect up all your individual styles within separate
pages. The advantage of this method is that you can manage individual
styling items within your site - but RedDot will then combine all
styles into one single stylesheet file, which cuts downs on the amount
of requests back to the server.
On the otherhand, you can always externally reference the styles in
your project (which is handy during development when you are working
with another front-end developer looking after cutup and styling) if
your styles are located within the plugins directly. In this case the
link would look something like this:
@import url(/cms/plugins/styles/global.css);
Cheers,
Kim
On Feb 6, 1:25 am, JJB <[email protected]> wrote:
> Hi Amber,
>
> I ran into a similar CSS issue. What I discover is if you use
> @import, SmartEdit will not import the CSS.
>
> will not work
> <style type="text/css" media="screen">
> @import url(/styles/global.css);
> </style>
>
> will work
> <link rel="stylesheet" href="/styles/global.css" type="text/css" />
>
> Cheers,
> Jamie
>
> On Feb 5, 10:06 am, djaeger <[email protected]> wrote:
>
> > We had the same problem with a new set of content classes and RedDot
> > support suggested going through the html and style sheets to identify
> > the cause. We did that and it turned out to be improperly coded html
> > and a few styles that were in conflict with one another.
>
> > On Feb 4, 5:50 am, Amber <[email protected]> wrote:
>
> > > The page preview in Smart Tree and Live site is fine. How ever the
> > > stylesheet is not applied properly in Smart Edit. Any clue about the
> > > issue.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---