On Page Styling With CSS
-
I’m still learning more about front end design so my apologies if this is an easy fix.
I’ve added my first tour, but I’m unable to overwrite the default styling.
style=" text-align:center; max-width:100%; width: 600px; height: 400px; margin: 0 auto; border-radius:0px; direction:ltr;"My goal is to remove the margin applied to either side of the virtual tour. I tried using
#myvirtualtour {margin-left: 0; !important margin-right: 0; !important}to overwrite any specificity issues, but that didn’t work either.I noticed the styling is coming from element.style, does that mean that it’s scripted into the plugin and I’m unable to change it via CSS?
Any help is much appreciated! I’m a huge fan of the plugin so far and it will be an invaluable part of my next design project.
Keep up the good work!
The topic ‘On Page Styling With CSS’ is closed to new replies.