0
Welcome Guest! Login
0 items Join Now

How to add code for iPhone only?

    • safeworld4women's Avatar
    • safeworld4women
    • Elite Rocketeer
    • Posts: 634
    • Thanks: 26
    • Website designer and Administrator

    How to add code for iPhone only?

    Posted 11 years 6 months ago
    • Hi I wonder if someone could advise me!
      First, I am a Rocket Theme customer but I need specific advice about Gantry
      Earlier I asked on the main forum this question!
      I have a problem with a module on our website. A problem which only occurs when viewing on an iPhone 5 at 320x568
      Basically I have 'float-left' set on an image to push the test to the right hand side. On all other mobile tests the float 'degrades' and the text goes underneath the image.
      But on the Iphone 5 this does not work
      See the 'World News' module here http://www.asafeworldforwomen.org/
      Is there a way to remove the float using css only for an IPhone?
      I still want the module to be displayed at smaller sizes so using responsive classes won't help!
      Ideas greatly appreciated

      Igor replied that I should find the answer here http://gantry-framework.org/documentation/joomla/advanced/per_browser_control.md

      The thing is I don't actually understand what I would have to do and would love some further guidance.

      :)

      Andrew
    • My wife and I design, build and maintain websites - for non-profit organisations, therapists, artists, local community groups and small businesses.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: How to add code for iPhone only?

    Posted 11 years 6 months ago

Time to create page: 0.042 seconds