• Resolved katovonessen

    (@katovonessen)


    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @katovonessen ,

    Sorry for getting back to you late.

    Can you give us a link to your tour?

    Then we can have a look at it and provide you a precise solution.

    Thanks.

    Thread Starter katovonessen

    (@katovonessen)

    Hi @jahirchowdhury,

    No problem!

    It’s a live site so I had to take it down for the time being. I’m using the Twenty Seventeen theme with Gutenburg, and I tried using the Gutenburg shortcode block and the WP VR block, but both produced the same result.

    Hi @katovonessen ,

    In that case, what you can do is:

    -> Publish the tour on a test/demo page (Make sure to set the page as non-index for search engines).

    -> Give us the link.

    We’ll have a look at your page try to provide you a solution for it.

    Thanks.

    Hi @katovonessen ,

    We haven’t heard anything from you in a while.

    If you give us a link to your demo/test tour page, we can help you to remove the margins.

    Thanks.

    Hi,

    Since we haven’t heard anything from you in a while, we’re now closing this thread.

    You’re always welcome to open a new thread if you face any issues with the plugin.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘On Page Styling With CSS’ is closed to new replies.