Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

howeverbighoweversmall

Member
  • Content Count

    3
  • Joined

  • Last visited

  1. Thank you! I tried this though and it is still showing up on mobile. Did I miss something? Thank you!
  2. Site URL: https://www.follow-our-steps.com/book-your-trip-1 Hello, I have put a widget up on my website that doesn't respond accordingly to the changes in window size. So full screen on the website it works great, but on mobile it makes the page all sorts of messed up. I have two questions - 1. Is it possible to just exclude this widget on mobile? So it shows up on desktop but not on mobile 2. Change the code so that it adapts to window and browser size like my other widgets? Here is the code: <div> <div> <iframe border="0" frameborder="0" width="450px" height="100" src="https://co2offset.atmosfair.de/co2offset?p=1000201243#/flight?locale=en"> I have changed the width and height but it doesn't really look good on mobile. I think I would prefer to somehow exclude this and its title from mobile, but don't know if that is possible or worth it. Here is one example of where it is: https://www.follow-our-steps.com/book-your-trip-1 Thank you! Chris
  3. To begin I must say I have no real experience coding, so if you need more information or something different, please ask! I have been using three different third party widgets (like affiliates or hover maps) and have been injecting their code into the website. My problem is when you load the website, the things with code don't load until you refresh the page. Example 1: On the home page, there is supposed to be a map that shows up before the slide gallery underneath it. If you hit refresh the map shows up, but it doesn't show up when you first go to the page. https://www.howeverbighoweversmall.com Example 2 & 3: Here on the product page I want to have the affiliate links work under Book Your Activity or Book Your Accommodation. Again, they only work when you refresh the page. Is there something I can do from my Squarespace editor or is this something wrong with all of the code? https://www.howeverbighoweversmall.com/get-your-itinerary/8-days-in-tuscany Here is the code for Booking.com for example: <ins class="bookingaff" data-aid="1890417" data-target_aid="1890417" data-prod="map" data-width="100%" data-height="590" data-lang="ualng" data-dest_id="0" data-dest_type="landmark" data-latitude="43.7679178" data-longitude="11.2523792" data-landmark_name="Cape Town" data-mwhsb="0" data-address="Cape Town"> <!-- Anything inside will go away once widget is loaded. --> <a href="//www.booking.com?aid=1890417">Booking.com</a> </ins> <script type="text/javascript"> (function(d, sc, u) { var s = d.createElement(sc), p = d.getElementsByTagName(sc)[0]; s.type = 'text/javascript'; s.async = true; s.src = u + '?v=' + (+new Date()); p.parentNode.insertBefore(s,p); })(document, 'script', '//aff.bstatic.com/static/affiliate_base/js/flexiproduct.js'); </script> Thank you in advance!!
×
×
  • Create New...