0
Welcome Guest! Login
0 items Join Now

SOLVED Gantry CSS problem with iframe nav bars and size

  • SOLVED Gantry CSS problem with iframe nav bars and size

    Posted 12 years 8 months ago
    • Hi, i'm using camber j2.5 template, the problem is this:

      I'm using Hikashop business, and the "add to cart" buttons display an iframe of +/- 500px of width.
      The problem is that the navigation bars doesn't have to be present and the popup iframe size is too large.

      This image is hidden for guests.
      Please log in or register to see it.


      The hikashop team said to me that the problem was in the gantry.css file in this code:
      .rt-container {margin: 0 auto;width: 960px;}
      body {min-width: 960px;}

      If i remove that code the popup iframe displays well without the navigation bars and in the correct size, the problem is that it affects all the template layout aligning it to the left

      This image is hidden for guests.
      Please log in or register to see it.


      can you help me with this problem?
    • Last Edit: 12 years 8 months ago by Amin Gomez.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Gantry CSS problem with iframe nav bars and size

    Posted 12 years 8 months ago
    • not sure if there is a fix ...
      without a link we can even check.
  • Re: SOLVED Gantry CSS problem with iframe nav bars and size

    Posted 12 years 8 months ago
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Gantry CSS problem with iframe nav bars and size

    Posted 12 years 8 months ago
    • sorry put where I can such a "popup" ... I clicked on everything ... but I don't get that ...
  • Re: SOLVED Gantry CSS problem with iframe nav bars and size

    Posted 12 years 8 months ago
    • sorry, i was trying to edit some files, but now hit the "aƱadir" button
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Gantry CSS problem with iframe nav bars and size

    Posted 12 years 8 months ago
    • 1.
      Open component.php in your template folder
      Find <body> and change it to
      <body style="min-width: 200px">
      Save that.

      2.
      Add this to your css
      body > #rt-main div.rt-container { width: auto;}

      3.
      Clear your browser-cache ...
  • Re: SOLVED Gantry CSS problem with iframe nav bars and size

    Posted 12 years 8 months ago
    • Thanks Henning, that was perfect!

Time to create page: 0.059 seconds