Plugin Support
tomwolf
(@tomwolfhun)
Hello @cometto,
Yes. A solution: create a floating <div> in your theme template or in a page and paste the shortcode into that block.
A little webdeveloper help for you, if you do not familiar with creating HTML content:
<div style="position: absolute; bottom: 10px; left: 5px; height: 110px; width: 280px; z-index: 99; border: 1px solid red;">Float content</div>
Feel free to write to us, if you need further assistance,
Tom
Trustindex
-
This reply was modified 4 years, 5 months ago by
tomwolf. Reason: typo
@tomwolfhun
Tom,
further questions:
I’m not sure if I named what I wanted to achieve correctly – I meant more about the “sticky” element so that it would be glued permanently when scrolling the page to the corner
1. code i placed in “HTML before footer” section in my theme is:
<div style=”position: fixed; bottom: 10px; left: 5px; height: 110px; width: 280px; z-index: 99; “>[trustindex no-registration=google]</div>
(badge is displayed in bottom left corner)
I chose the badge + show reviews by clicking (the bar comes out) but down – not up, so the views shown are cut off. Can you change the bar to go out from the top?
2. the mobile version. The element added with your code is too big and covers a lot of space. Should I remove it by CSS? possibly, can this div be made to be displayed only on the desktop?
-
This reply was modified 4 years, 5 months ago by
cometto.
-
This reply was modified 4 years, 5 months ago by
cometto.
-
This reply was modified 4 years, 5 months ago by
cometto.
Plugin Support
tomwolf
(@tomwolfhun)
Hello @cometto ,
1. You should try the “Button VII. – with popup”. In this case a modal box will popup instead of dropping down
2. Yes you can. Possibly your theme has settings to manage the display width variants:
– display
– tablet
– mobile
– and mixes
If you cant find anything in yout theme (and its support cant help), you should try add something like this into your site’s CSS:
/* On screens that are 600px or less, set the sticky box content to hald size */
@media screen and (max-width: 600px) {
#sticky-box-id { zoom:0.5; }
}
`