On screen widgets

3883
13
Jump to solution
10-31-2016 11:46 AM
AlexGole
Occasional Contributor II

Hi all,

I am trying to add additional widget placeholder (there are 5 currently by default, Iwant 6 or 7 placeholders) to the foldable theme with default layout for one of our applications and for some reasons I have not been successful yet.

Here is what I am doing: 

1) I go to stemapp>themes>FoldableTheme>layouts> default>config.json.

2) I add a widget placeholder by adding this code to the config.json file:

{
"position": {
"left": 305,
"top": 45
}
},

Results:

a new layout is highlighted in WAB

the other layouts are all messed up:

Any idea or help is welcome,

Thanks,

Alex

0 Kudos
13 Replies
GeorgeKatsambas
Occasional Contributor III

Me and syntax errors, I have no clue then where it is. by the 10 000th copy and paste i might get it right

0 Kudos
GeorgeKatsambas
Occasional Contributor III

ok 5th attempt lol

0 Kudos
GeorgeKatsambas
Occasional Contributor III

Thank You Robert, i added finally the 2 additional placeholders I wanted, now I want to resize them to match the original, but in the jimu.css file changing the size is not changing the last 2 added place holders, where is that rule now?

0 Kudos
GeorgeKatsambas
Occasional Contributor III

never mind, forgot to close and re-open WAB and add an actual widget, Thank God for Hump day

0 Kudos