Shadow on a layoutgrid is this possible?

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
Fender
 
 
Posts: 127
Joined: Sun Oct 16, 2011 11:01 am

Shadow on a layoutgrid is this possible?

Post by Fender »

I made a shadow style with the htmlobject for a layoutgridlayer. The shadow is showing but I get a css Lexical error .
=========================================================================================================================
Lexical error at line 310, column 7. Encountered: "/" (47), after : "<style" /> lang="nl"> <head> <meta charset="utf-8"> <title>Naamloze pagina</title> <meta name="generator" content="WYSIWYG Web Builder 12 - http://www.wysiwygwebbuilder.com"> initial-scale=1.0"> <link href="favicon5.ico" rel="shortcut icon" type="image/x-icon"> div#container { margin: 0 auto 0 auto; position: relative; text-align: left; width: 1024px; }
=====================
<style>
#pagina14LayoutGrid1{
-moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.19);
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.19);
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.19);
}
<style/>
The only two options when the shadow is showing when I insert the style in htmltag or start of page.
Can I leave it this way or:
Is it possible anyway to give the layoutgridlayer in a proper way a shadow?
The style options of the layoutgrid are greyed out!
I know coding has no support but maybe someone has an idea?
with regards
Fender
User avatar
crispy68
 
 
Posts: 2729
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Shadow on a layoutgrid is this possible?

Post by crispy68 »

Your code doesn't look right to me. Should look something like:

#pagina14LayoutGrid1{
-moz-box-shadow:2px 2px 5px #000000;
-webkit-box-shadow:2px 2px 5px #000000;
box-shadow:2px 2px 5px #000000;
}

where the first 2px represents the x offset, the 2nd 2px is the y offset and the 5px is the blur followed by the color.
User avatar
Fender
 
 
Posts: 127
Joined: Sun Oct 16, 2011 11:01 am

Re: Shadow on a layoutgrid is this possible?

Post by Fender »

The style is not the problem, that give me the result I want on the outside of the layer. It is the way I have to insert it in a proper way that is the problem.
Normally you insert a style between the headtags, but this don.t work with a layoutgridlayer. The shadow is only showing when I use start of page or bin htmltag and the I get this Lexical error.
Any idea?
User avatar
BaconFries
 
 
Posts: 5316
Joined: Thu Aug 16, 2007 7:32 pm

Re: Shadow on a layoutgrid is this possible?

Post by BaconFries »

Moving to the Off Topic Section as more suited to there than General Questions
User avatar
Fender
 
 
Posts: 127
Joined: Sun Oct 16, 2011 11:01 am

Re: Shadow on a layoutgrid is this possible?

Post by Fender »

Moving to the Off Topic Section true about my question how to input the style.
but my question :
"is it possible to give the outside of a layoutgridlayer a shadow" is in my opinion
related to the program.
Any answer about that?
with regards
Fender
User avatar
crispy68
 
 
Posts: 2729
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Shadow on a layoutgrid is this possible?

Post by crispy68 »

You can place it in an html box set to 'between <head></head> tags' as that is how I did it.

simply type it in as:

<style>
#pagina14LayoutGrid1{
-moz-box-shadow:2px 2px 5px #000000;
-webkit-box-shadow:2px 2px 5px #000000;
box-shadow:2px 2px 5px #000000;
}
</style>

Your ending style tag should be </style> NOT <style/>

You can also put this in the 'Page HTML' on the tab marked 'between <head></head> tags'
User avatar
Fender
 
 
Posts: 127
Joined: Sun Oct 16, 2011 11:01 am

Re: Shadow on a layoutgrid is this possible?

Post by Fender »

Thanks Crispy!
Stupid mistake, sometimes as we say in holland You can through the trees not see the forest.
with regards
Fender
Post Reply