-
Forum
-
Zh GoogleMap
-
Component
-
Use Styles for component
Use Styles for component
-
ThomasR
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 27
-
Thank you received: 0
-
-
-
-
-
12 years 3 weeks ago - 12 years 3 weeks ago #481
by ThomasR
I'm using the component in a module at this page:
Here
.
I want to give the map a predefined style from my template or use my own style that i want to insert in the styles ssection of the specific map.
The predefined style is called "boxed". Where must i insert the class name?
The second thing i tried is my own style. I inserted:
{
border-width: 1px;
border-style: solid;
border-color: rgb(113, 123, 135);}
I tried with {} and without it but i always get a blank module.
Could you please give a short instaruction what to do?
Last edit: 12 years 3 weeks ago by ThomasR. Reason: Correct link
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
12 years 3 weeks ago #482
by Dima
Hi.
As I understand, you want apply stiles to div for map, not styled map.
In this case you have to set styles direct to map div by it ID. It doesn't have class style.
Ie in css file of your template you enter
#GMapsID {
here your styles}
And if you want, to set width = 100% for whole container, set width = 0 (read docs about that).
For full screen I'll add explainations into FAQ section tomorrow.
The following user(s) said Thank You: ThomasR
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
-
ThomasR
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 27
-
Thank you received: 0
-
-
-
-
-
12 years 3 weeks ago #485
by ThomasR
Dima wrote: Hi,
As I understand, you want apply stiles to div for map, not styled map.
In this case you have to set styles direct to map div by it ID. It doesn't have class style.
Ie in css file of your template you enter
#GMapsID {
here your styles}
And if you want, to set width = 100% for whole container, set width = 0 (read docs about that).
For full screen I'll add explainations into FAQ section tomorrow.
This was exactly what I'm looking for. Thank you!
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh GoogleMap
-
Component
-
Use Styles for component
Time to create page: 0.066 seconds