WebSite X5Help Center

 
Bjorn Andreassen
Bjorn Andreassen
User

Added Style  en

Автор: Bjorn Andreassen
Просмотрено 903, Подписчики 2, Размещенный 0  

Style added in "Advanced settings" - "... and Code" - "Expert" - "Files linked to HTML code" are not shown in Preview-mode.

Why don't I see my added style in preview?

Размещено
16 Ответы - 1 Корректно
Andre E
Andre E
Moderator

Cause the link is set to your site, try uploading once, after that it should work and should keep on working.

Pleasy try, I tested this with pictures it should be the same for style's

Читать больше
Размещено От Andre E
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Don't work for me.

Читать больше
Размещено От Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

Can you please write me the link to the page you uploaded?

What style did you add so I can test it?

Many thanks!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

It no problem when uploaded. It's in WebSite X5 Preview.

Читать больше
Размещено От Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

Which file in the footer are you referring which is not visible in the preview if you add it in the Expert section?

And what code are you using to show it?

Many thanks!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Insert HTML Code:

<h3 style="color:#">Nyttige linker</h3>
<p><a class="imCssLink" href="../hvem-er-adsessor.html">Om AdSessor</a></p>
<p><a class="imCssLink" href="../tjenester-fra-adsessor.html">Tjenester</a></p>
<p><a class="imCssLink" href="../adsessor-netthandel.html">Nettbutikk</a></p>
<p><a class="imCssLink" href="../kontakt.html">Kontaktinformasjon</a></p>

CSS: http://adsessor.no/css/bawa.css

Web.

Читать больше
Размещено От Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Preview:

Читать больше
Размещено От Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

The css file is added to the page only once exported. What you can do is to add in the Heade section of your project following code since the file is already online:

<linkrel="stylesheet" type="text/css" href="css/bawa.css" media="screen, print" />

In this way it will be used the css file online also in the preview.

Many thanks!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Didn't work! 
Everything was fine until I upgraded to version 12.0.3.19!

Читать больше
Размещено От Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

Did you add the html code I wrote you in the header section and you were connected online when you tested it?

Many thanks!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Yes I did and I was connected to internet.

Читать больше
Размещено От Bjorn Andreassen
Bjorn Andreassen
Bjorn Andreassen
User
Автор

I had no problem in version .17

Читать больше
Размещено От Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

In this case add following code in the the section "before closing head tag":

<link rel="stylesheet" type="text/css" href="http://adsessor.no/css/bawa.css" media="screen, print" />

Many thanks!

Читать больше
Размещено От Claudio D.
Bjorn Andreassen
Bjorn Andreassen
User
Автор

Now it works in preview. Why must I add adsessor.no?

Читать больше
Размещено От Bjorn Andreassen
Incomedia
Claudio D.
Incomedia

Hello Bjorn,

You need to add it to load the css style file from your URL.

Many thanks!

Читать больше
Размещено От Claudio D.