Author Topic: My template has no main body code in .css???  (Read 1268 times)

Offline masterolive

  • Newbie
  • *
  • Posts: 3
    • Email
My template has no main body code in .css???
« on: May 19, 2012, 05:58:37 »
Ive been looking around this site for the past 3 days and nobody has responded.
I simply asked how to center the background image on my site,
however, after searching this forum thin, i fond some of the codes i could use myself,

BUT
when i try to use the *Find* Feature, i cannot find
#bodyarea
or
/* The main body
I have looked through every single  .css .php   .template .rtl file in my editors menu and i cannot find ANYTHING in my css file, but yet, i have a backround image!?!!?

how is this possible without the code there?
i apologize if this is the wrong area to post but this is a simple six and its very frustrating.

mgsuniversetest.co.cc 

Online ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5651
  • Civilian Support
    • Files4Design
Re: My template has no main body code in .css???
« Reply #1 on: May 19, 2012, 07:54:26 »
We are all volunteers here. We have real life, jobs, school, children, spouses, etc. to deal with and cannot be online 24/7. We respond to all support requests when we have time to do so.

Look in Inferno/css/index.css. This is what makes the main body function properly.

Code: [Select]
#main_body {
background: #dedede url(../images/custom/main_body.jpg) 0 0 repeat-x;
}
#main_body .wrapper {
background: #ffffff url(../images/custom/main_body_wrap.png) 0 0 repeat-x;
padding: 10px 0;
}

The background image in question is main_body.jpg

 ;)


Michigan Skywarn

If I don't respond to a specific topic, please don't take it personal. It's either because someone else has already given an answer or, I have no answer.

Offline maYday

  • Administrator
  • Hero Member
  • *
  • Posts: 2847
    • DzinerStudio
Re: My template has no main body code in .css???
« Reply #2 on: May 19, 2012, 07:57:00 »
No need to double post your support question and like ARG said you have to be patience.

Offline masterolive

  • Newbie
  • *
  • Posts: 3
    • Email
Re: My template has no main body code in .css???
« Reply #3 on: May 19, 2012, 11:55:03 »
A appreciate the help and i apologize for being impatient,
i was able to find the correct area, however, my knowledge of .css code is Zero!
Fortunately i was able to try a few different keywords,
and i was able to "Center" the image itself, but it would still repeat.

any attempt at turning off the repeat would result in a broken background,
so instead i created a spacer in photoshop, and made an image wide enough that wouldn't be able to repeat, and i extended the image height all the way down with room to spare to emulate an whole un-repeating image.

as for the double post, some of the responses in the inferno board weren't from 2010.
(at least the ones i skimmed when i realized nobody had responded yet) 
So i posted in the main free theme section, since my question was more of a general .css code question.

it was then that i had noticed, (after searching through many threads)
that a lot of peoples .css code (#main_body /* This is the Backtound area ) i had saw in screenshots, did not show up anywhere on my .css sheet, i became very confused and felt completely lost,
so i attempted to post in the most general support thread possible.
 

Online ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5651
  • Civilian Support
    • Files4Design
Re: My template has no main body code in .css???
« Reply #4 on: May 19, 2012, 21:39:06 »
To keep any image from repeating you simply replace repeat-x with no-repeat;)
Michigan Skywarn

If I don't respond to a specific topic, please don't take it personal. It's either because someone else has already given an answer or, I have no answer.