Announcement

Collapse
No announcement yet.

background image

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • background image

    Hi, I have a menu with 960px width, centered, so I need an image to the background.
    But in layout -> Themes -> Menu -> Page -> I have not option to set background-image
    Y try to edit MenuH.css, menu.php (body tag), menu_page_ini (body tag), and no matter what I change the background remains white.

    What Can I do?

    Thanks in advance.

  • #2
    Re: background image

    Hi.
    1. Open your Menu application. From menu select Layout/Layout Settings
    2. Look at Theme field. That is your Theme to the menu.
    3. Go to Scriptcase menu bar (on top) and select Tools/Layout/themes
    4. Select the actual theme to your menu (step 2)
    5. When SC shows the Theme, click on Edit Button.
    6. On left menu select Menu Option/IFrame
    7. At property fields, look for Background image field, and select an SC image or Upload your own background.
    8. Save your modified theme
    9. Save and Generate the menu application source.

    Comment


    • #3
      Re: background image

      Old topic, but here is a solution. You can add css to the events onApplicationint like this:

      Code:
      print ("
      
       <style type='text/css'>
      
       body {
        background: #f8f7e5 url(../_lib/img/grp__NM__Scriptcase_background.jpg) no-repeat center top; 
       }
       </style>
      
      ");
      This will insert the body style code above the <head> but still works. The result is a full image behind all of the content on the page. Eliminate the image to just set the full page background color. BTW, changing the background image in the theme IFrame will only place the image in the iframe content area below the menu on a H menu or the right frame content area on a V menu.
      Latest version of Scriptcase updated regularly. Hosted on my own Cpanel server running php 5.4x and Centos. Use latest version of Firefox for development browser.

      Comment

      Working...
      X