Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First bg image গুল images folder এর ভিতর bg folder নামে folder এর ভিতর রাখতে হবে |
- // Template Background For SMOF
- $of_options[] = array( "name" => "Background BG",
- "type" => "heading"
- );
- $of_options[] = array( "name" => "Background Images",
- "desc" => "Select a background pattern.",
- "id" => "custom_bg",
- "std" => $bg_images_url."bg0.png",
- "type" => "tiles",
- "options" => $bg_images,
- );
- <!--Background Image this code have to show before head-->
- <?php global $data; ?>
- <?php if($data['custom_bg']): ?>
- <style type="text/css">
- body{background-image:url( <?php echo $data['custom_bg']; ?> );background-repeat:repeat;}
- </style>
- <?php endif;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement