Hi All,
I am using 1.3.9h and have successfully installed Blank_sidebox. I have two images displayed, side by side.
I have significant white space on top and bottem. Can I get rid of this in my CSS stylesheet?
Thanks
Hi All,
I am using 1.3.9h and have successfully installed Blank_sidebox. I have two images displayed, side by side.
I have significant white space on top and bottem. Can I get rid of this in my CSS stylesheet?
Thanks
No. You'll have to edit tpl_blank_sidebox.php and remove the <p> and </p> tags (but leave the single quotes):
$content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
$content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>';
so:
$content .= '' . TEXT_BLANK_SIDEBOX . '';
$content .= 'You can include text, links, images, HTML markup and even PHP code';
Worked like a charm. Thank you so much. You guys rock.
hi i am trying to add my seal to the box but im having a hard time with the php
here is what i would like added in between ' '
<a href="#" onclick="window.open('https://www.sitelock.com/verify.php?site=teachntoysonline.com','SiteLock','width=600,height=600,left=160, top=170');" ><img alt="website security" title="SiteLock" src="//shield.sitelock.com/shield/teachntoysonline.com"/></a>
it keeps looking like its being commented out after the https part... can u do the code for me and ill just copy it here is where i want it
$content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
$content .= 'THIS IS WHERE I WANT THAT CODE';
$content .= '</div>';
Your javascript already has both single and double quotes, so putting it inside a (single-quoted) PHP string means you will have to escape the script quotes with a \ before each '.
PHP Code:
$content .= '<a href="#" onclick="window.open(\'https://www.sitelock.com/verify.php?site=teachntoysonline.com\',\'SiteLock\',\'width=600,height=600,left=160, top=170\');" ><img alt="website security" title="SiteLock" src="//shield.sitelock.com/shield/teachntoysonline.com"/></a> ';
thanks a million!
Bookmarks