-
-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found a bug: position: fixed;, floating widgets and fixed background images do not work #1517
Comments
Hello |
Hey so, I noticed if you add <style></style> in the script.js/the JavaScript editor, the fixed background-image works properly, but the browser responsiveness doesn't work. The one with the <style> in the js: https://51d29bee.likhastudios.pages.dev I can't wrap my head around it but there seems to be a CSS dependency on script.js or something, can't wrap my mind around it. Hopefully it helps with V3! |
Oh yes, this style tag should not be there !! :-/ On my side I see a Please paste here what you put in the JS editor |
(sorry about the delay of my answer) |
All I added was this:
|
On another laptop, fixed backgrounds and widgets are working, so I'm assuming it's relative to the scale and the resolution of the device. If I set my windows screen scale to 100% and resolution to 1920x1080, fixed background and widgets work fine. But if I change the scale to 125%, it doesn't budge anymore. Trying to wrap my head around it but, the problem has something to do with the screen size and scale. |
In the js editor you should not add html tags at all
In the CSS editor you can add css styles but also not html tags
In the head editor you are supposed to add html tags
…On Jul 18, 2023, 13:34, at 13:34, Likha Studios ***@***.***> wrote:
All I added was this:
![image](https://github.com/silexlabs/Silex/assets/132113888/dbc00feb-7b58-4a87-b7c2-2604fb03753a)
Also I noticed script.js has missing semi-colons:
![image](https://github.com/silexlabs/Silex/assets/132113888/370b41dd-8d6b-4671-8a9a-2733accf086e)
and:
![image](https://github.com/silexlabs/Silex/assets/132113888/4c9c5065-7a19-41a5-b1b9-4dc36a9caa64)
> Oh yes, this style tag should not be there !! :-/
>
> On my side I see a `<script>` tag in
https://51d29bee.likhastudios.pages.dev/js/script.js
>
> Please paste here what you put in the JS editor
--
Reply to this email directly or view it on GitHub:
#1517 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
I just understood that it works WITH the html tags in the js editor I will look into this |
I was creating my website when I hit a wall. Fixed Background Images don't work on this particular project, even though on my other projects it has. I tried a different project, and it works. I know you're looking into Silex V3, but still commenting on V2 so I can contribute to V3.
I don't know exactly how to reproduce the problem, but I'd happily provide project files you can look into.
Website is: https://getlikha.com
I'm well aware widgets are fixed and fixed background images work, depending on the resolution. I've used different browser resizing tools to comfirm this.
If you use Silex desktop app, please complete the following information
The text was updated successfully, but these errors were encountered: