Results 1 to 8 of 8

Thread: Responsive iFrame

  1. #1
    Thread Starter
    clubsandclasses's Avatar
    Join Date
    Jun 2014
    Location
    UK
    Posts
    53
    Thanks
    7
    Thanked 1 Time in 1 Post

    Responsive iFrame

    Hi there

    I am currently an Amazon affiliates member and running ads through my site. I have placed the iFrame code in the widgets across the site and the adverts work but they don't resize on an iphone. I looked through the forums and found advice on using the following in my style.css on the child theme:

    #masthead .advert .widget {
    background-size: 100% !important;
    max-width: 100%;
    }
    the advert container has resized so it doesn't run off the page but you can only see part of the advert within it. I am also running ads on listing page ad widget and the side bar ad widget but i can't seem to even get the container to re-size so the ads run off the page. Does anyone know a solution to this?
    photo2.jpg photo.jpg

    I also used this code to resize the header image:

    #site-title a {
    background-size: 100% !important;
    max-width: 100%;
    }

    Which as you can see from the screenshot it has resized it but there is now a large space/gap underneath it and i'm unsure how to get rid of it.

    Any help would be appreciated.

    Rachel

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    clubsandclasses's Avatar
    Join Date
    Jun 2014
    Location
    UK
    Posts
    53
    Thanks
    7
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    clubsandclasses's Avatar
    Join Date
    Jun 2014
    Location
    UK
    Posts
    53
    Thanks
    7
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Thread Starter
    clubsandclasses's Avatar
    Join Date
    Jun 2014
    Location
    UK
    Posts
    53
    Thanks
    7
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Thread Starter
    clubsandclasses's Avatar
    Join Date
    Jun 2014
    Location
    UK
    Posts
    53
    Thanks
    7
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Jomark Responsive: Blog is not responsive in default theme
    By stefanr in forum Help Using JobRoller
    Replies: 1
    Last Post: June 24th, 2013, 09:19 AM
  2. How the put coupon in iframe
    By goldynet in forum Clipper General Discussion
    Replies: 2
    Last Post: February 9th, 2013, 04:12 PM
  3. [MOD NEEDED] iframe mod required
    By davlam0 in forum ClassiPress General Discussion
    Replies: 0
    Last Post: February 3rd, 2013, 11:10 AM
  4. iframe on ads
    By miamirg in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: July 3rd, 2011, 01:15 AM
  5. IFrame
    By jkriegel8 in forum Report JobRoller Bugs
    Replies: 6
    Last Post: June 8th, 2011, 07:12 AM