centering iFrame in widget area below header

General questions pertaining to how certain issues can be resolved. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.

1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"
Locked
Head Bartender
Posts: 5
Joined: 23 Feb 2011, 13:42

centering iFrame in widget area below header

Post by Head Bartender » 17 Nov 2011, 02:25

Hello everyone,

been using suffusion for a while now and been very happy with it ( as everybody else here ;)

Have a problem right now though I can´t figure out, I have an commercial ( in an iFrame ) in the widget area below header, it works just fine, BUT since it´s not as wide as the widget area I can´t figure out how to get it centered ?

I´ve been studying the element with firebug but haven´t been able to figure out the exact code for centering the object ? The same kind of "problem" have probably been solved here before but couldn´t find any topic with the same question ?

my url is: http://www.baarimestari.fi

Any help would be highly appreciated !

Regards

- Mike -

drake
Posts: 6223
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania
Contact:

Re: centering iFrame in widget area below header

Post by drake » 17 Nov 2011, 13:46

You can try to add at Suffusion Options -> Backend -> Custom Includes -> Custom Styles:

Code: Select all

#text-3 {text-align:center;}

Head Bartender
Posts: 5
Joined: 23 Feb 2011, 13:42

Re: centering iFrame in widget area below header

Post by Head Bartender » 18 Nov 2011, 00:20

Perfect ! That did it ! Thank you drake, works like a charm ;)

- Mike -

Locked