Hi mosaiq,
thanks for your positive feedback!
To position the Content2 to the left of your icon, please try these steps:
– set Position to relative
in the HD Toggle element settings
– add the following at Advanced > CSS in the HD Toggle element
css
.el-element > div:first-child {
margin: 0px;
}
.el-element > [id^="toggle-"] {
position: absolute;
left: -100px;
top: 10px;
margin: 0px !important;
}
Adjust the values for top
and left
to your needs.
—
Screenshots
https://www.screencast.com/t/jmlZkdNp
https://www.screencast.com/t/f6lx50dFX
—
Note: Usually, I would suggest to position the Content2 as follows, but due to the animation using the transform
property, this would look odd.
css
.el-element > div:first-child {
margin: 0px;
}
.el-element > [id^="toggle-"] {
position: absolute;
left: 0;
top: 50%;
transform: translate(-100%,-50%);
margin: 0px !important;
}
Kind regards
-
This reply was modified 2 years, 4 months ago by forrestkirby.
-
This reply was modified 2 years, 4 months ago by forrestkirby.
-
This reply was modified 2 years, 4 months ago by forrestkirby.
-
This reply was modified 2 years, 4 months ago by forrestkirby.
-
This reply was modified 2 years, 4 months ago by forrestkirby.