1. AussieTimmeh
  2. Commercial Templates
  3. Monday, 27 April 2015
  4.  Subscribe via email
Hi great people of Joomla51!

I have a question regarding centering an iframe wrapper. This is my page: http://littledancetime.com.au/home/index.php/contact and I am trying to center the wrapper form.

I use the exact same form code on another of your templates here: http://pixielandparties.com.au/home/index.php/bookings-and-enquiries/contact-us and it spans the full page which I would like. I've checked all the menu options (like width 100% etc) to make sure they are the same so I am not sure where to go from here.

Can you please help me work out what I need to do?

Thank you!
Accepted Answer Pending Moderation
0
Votes
Undo
Hey Timmeh

To resolve could you try adding the following to the Custom CSS field of your templates parameters...


#content_full {
width: 100%;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Wow that was fast. Thank you, that fixed the width issue but it's not centered as per the other one. Is that something I need to add to the code in the wrapper or is that similarly a custom css function?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Also adding the following should resolve this for you...


table {
width: 100%;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciaran. Didn't have an effect but I'll keep working away at it. Appreciate the reply.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You could try adding !important...


table {
width: 100% !important;
}


Basically your table has no width set so it is only as wide as the top line of text and everything is centreing to this. You will see what I mean if you add some more text to this area ('If you would like to enrol....').

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Great answer, easy for me to understand. Thank you. I can't wait to buy your latest template too (Boutique) - it looks amazing. Thanks.
  1. more than a month ago
  2. Commercial Templates
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!