I am having trouble with adding a background image to the center area of a theme. I am using a modified version of the Seabreeze theme. I searched the forums and used the suggestions I saw for trying to do this, but I have had no luck.
My URL is http://www.curseoftime.com and I am using the most current version of PostNuke. Any suggestions would help.
Thanks!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- Guite responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 05:53 PM
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
background images
-
- Rank: Senior
- Registered: Sep 22, 2003
- Last visit: Oct 21, 2009
- Posts: 2774
Hi - that is just the HTML in the theme, so the version of PN is unimportant. Just add BACKGROUND="path/to/bgimage.gif" to thecell that you want to have the background in. If it's for the layout in general, add it to the that starts the center block in the themeheader(), or if it's just for news article, blocks, etc.. edit the 's in those sections of the theme.php
One thing to keep in mind is the the path to the image is *relative* from the root of your PN directory... So, if the bg image is under your theme's images directory it should be:
Code
<TD BACKGROUND="themes/MyTheme/images/background.jpg"> - CENTER BLOCK STUFF -</TD>
--
Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods
Cape Cod Travel Info... -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 354
I want to use a given background for the entire site. Not in the blocks.
I tried the above in several locations that looked good but all I get is the following errors (with different line numbers)
Parse error: parse error, expecting `','' or `';'' in /home/adanyec/public_html/themes/ExtraLite/theme.php on line 40
Fatal error: call to undefined function: themeheader() in /home/adanyec/public_html/header.php on line 188
Joe Dunn -
- Rank: Expert
- Registered: Mar 15, 2003
- Last visit: Oct 21, 2009
- Posts: 1221
Edit style.css and put the background= in the Body tag
IE
Code
body{ font-family: Verdana; font-size: 10px;background-image: url(../images/AATech_12.gif);}
--
Zikula Themes
- Moderated by:
- Support
