0
Welcome Guest! Login
0 items Join Now

Need help adding border around template body part.

  • Need help adding border around template body part.

    Posted 17 years 11 months ago
    • I am working with RokWebify template and want to add border around body of template, but when I add border css code the border goes around the whole template I only need to go around the body part and preferably only three sides left, top, right (see image) any help is appreciated.

      Second is it possible to add background image to part of template and have different image for the rest of the template (see image)

      This image is hidden for guests.
      Please log in or register to see it.
    • VirtueShop
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Need help adding border around template body part.

    Posted 17 years 11 months ago
    • I haven't used rokwebify so i don't know what tags to apply the css classes to for the border, but for the background image i suggest creating two module class suffixes with those backgrounds and apply the classes to the poll and 'latest news' modules.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: Need help adding border around template body part.

    Posted 17 years 11 months ago
    • Background is not specific to a module but static for all pages, in the above example it just happens that News and Poll modules to be there, here is my background which is an image (not color), this is the look I am trying to achieve, help is needed, thanks.

      This image is hidden for guests.
      Please log in or register to see it.
    • VirtueShop
  • Re: Need help adding border around template body part.

    Posted 17 years 11 months ago
    • You should be able to do this

      1. Open template_css.css
      2. Add
      div#mainbody{
      border:4px solid #000;
      }

      Changing your border to your requirements.

      Hope that helps :)
    • James Spencer / Developer & Support / Hull, UK
  • Re: Need help adding border around template body part.

    Posted 17 years 11 months ago
    • Thanks James,

      I kept adding the code to 'body' tag that is why it didn't work, any idea about the background image part.
    • VirtueShop
  • Re: Need help adding border around template body part.

    Posted 17 years 11 months ago
    • You should be able to create module hilites, probably not in the exact way as described in the hilite tutorial, but it should give you an idea
    • James Spencer / Developer & Support / Hull, UK
  • Re: Need help adding border around template body part.

    Posted 17 years 11 months ago
    • Is not a module it is background, I won't be using any modules on site except banner and menu <link removed>
    • Last Edit: 17 years 11 months ago by Peter Osipof.
    • VirtueShop
  • Re: Need help adding border around template body part.

    Posted 17 years 11 months ago
    • The background for the mainbody is controlled by
      td.mainbody {
      background-image:url(../images/bg.gif);
      }

      The background for the right area is controlled by
      td.right {
      background:#CEBF81 url(../images/col-divider.gif) repeat-y scroll 0pt;
      width:255px;
      }
    • James Spencer / Developer & Support / Hull, UK

Time to create page: 0.094 seconds