Fixed text messes layout after updates
-
Hi everybody!
I just updated the last version of LayTheme and Wordpress and my old custom code doesn’t seem to be working anymore. I would like to fix the text on the left column when scrolling.
I was using this code, the text is indeed fixed but the margins are crazy and the block goes trough the entire page (see here).
.xxx { position:fixed; }
Should I add something to make it right again? I have already tried "sticky" and "static" as advised on previous posts but it doesn’t seem to have any effect.
Thank you so much in advance!
-
.xxx { position:fixed; width: 500px; left: 50px; }
u could add more css to it like this one that gives it a width and some space to the left
2/2
Need custom programming for your Lay Theme site?
I regularly add new features to Lay Theme for free, based on user feedback. But if you or your client need something more specific, I’m happy to offer custom paid programming tailored to your project.
Email info@laytheme.com with the subject "Custom paid programming for Lay Theme" and a short description of what you need — I’ll reply with a cost estimate.
Custom features I build often make it into future Lay Theme updates, so your idea might benefit the whole community.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it