SMFHacks.com

Modifications/Themes => Modifications Talk => Topic started by: inkys on August 21, 2013, 02:54:45 pm

Title: Global Headers and Footers
Post by: inkys on August 21, 2013, 02:54:45 pm
Good evening, installed your great mod on our website.
smf version 2.05 , default theme

I`d like to reduce the padding of an iframe put on the header.

You can see what I m talking about with this examples:

wiki.softwarelivre.org/InkscapeBrasil/Forum  (http://wiki.softwarelivre.org/InkscapeBrasil/Forum)(Iframe in a correct position on the top)

inkscapeforum.it/index.php  (http://inkscapeforum.it/index.php)(Iframe with a padding on the top)

How to change the iframe with border: 0 padding-top: 0 ?

Thanks a lot for your aswers
Title: Re: Global Headers and Footers
Post by: SMFHacks on August 21, 2013, 03:00:31 pm
Here is link to information on using iframe html tag
http://www.w3schools.com/tags/tag_iframe.asp
Title: Re: Global Headers and Footers
Post by: inkys on August 21, 2013, 03:20:12 pm
Thank for the quick replied,
I ve used this tag but I have still padding on the top
Code: [Select]
<iframe width="100%" height="20px" src="http://gimpitalia.it/network/"></iframe>
Title: Re: Global Headers and Footers
Post by: SMFHacks on August 21, 2013, 03:24:04 pm
You might be able to do with CSS check out that w3 schools site for a CSS guide
Title: Re: Global Headers and Footers
Post by: inkys on August 21, 2013, 03:58:49 pm
You might be able to do with CSS check out that w3 schools site for a CSS guide
Should I modify some file manually?
I was looking for the iframe on different files but couldn t find.
Where the Mod actually put the iframe?
Themes/default/css/smfhacks_css maybe?
Title: Re: Global Headers and Footers
Post by: SMFHacks on August 21, 2013, 04:07:39 pm
You would edit your headers and footers html code the iframe tag
Title: Re: Global Headers and Footers
Post by: inkys on August 22, 2013, 01:39:57 pm
Thanks a lot for your patience , I tried different codes but is the same , I have no idea  :-\