Jump to content
stefanoferruggiara

Content Background On Home Page

Recommended Posts

stefanoferruggiara    5
stefanoferruggiara

Hi there,

please.. anyone can sugget my a custom css code for customize the background ONLY in the home page.. as trasparente or black?

Thanks for fast reply

Home page that i would like to change background: http://stefanoferruggiara.com


"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
stefanoferruggiara    5
stefanoferruggiara

Catrina... doesn't work :(


"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
batman    389
batman

Hi Stefano

Please you can try with this CSS selector

.page-id-2 

If you also wish to know how I find the page ID, all you need to do is load up FireBug or Google Chromes web dev tool and inspect your page html, at the top you should see body which has a number of classes assigned to it, one of these is page-id-XX (replace XX with your pages id value. I have added a screenshot to assist you.

Captura%2520de%2520pantalla%25202012-11-07%2520a%2520las%252019.23.51.jpg


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
stefanoferruggiara    5
stefanoferruggiara

Thanks... please the complete code for trasparent or black then is?

.page-id-2 {background-color:#000000;}

??I would like that the white content became black or better transparent


"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
Rob    547
Rob

Stefano,

Try:


body.home .content {

    background: none repeat scroll 0 0 transparent;

    margin: 0 auto;

    position: relative;

    width: 100%;

}

If that doesn't work, replace body.home with .page-id-2


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • nandorj78
      By nandorj78+
      I'd like to request a section (or that this could be enabled on the background settings of the existing sections) in which we could set a image to stay fixed, just as we can see in the link below:
      http://www.bootply.com/render/100702 (you can see 2 different background images and everything scrolls on top of it.)
      Is it possible to be done without having to code it via CSS every time?
    • richardjacruz
      By richardjacruz+
      I thought I had seen the last of this problem. However, please look at dev.stevensoncraneservice.com (the development site for our company). Every internal page looks fine. However, the home page is "broken" on every browser. However, when I'm logged in when using Chrome as a admin, the site checks out fine.
      Can you help me figure this out?
      Thanks,
      Rich
    • janpeeters
      By janpeeters+
      Hi all,
      I was totally excited to find out about 'CSS Hero' (http://www.csshero.org) I read about it in the compatible plugins section of the PL5 docs (http://www.pagelines.com/resources/compatible-plugins) For me it's a great way to more easily customize my sites because I'm not a CSS pro.
      I'm wondering about one thing though… Does anyone know if using this will result in a heavy penalty on page loading speeds? Would love to start using it but only if it doesn't cost too much in terms of speed.
      Thanks, Jan
    • jacobtippett
      By jacobtippett+
      Hi,
      I am trying to get the background image of the Revslider to be clickable and redirect to a link.
      Does anyone know how this is possible?
    • abuzzelli
      By abuzzelli+
      I need the modal popup background to be solid and I can't get the css to work. Not sure what to do. Here's the page: http://bellissimoplasticsurgery.com/breast-augmentation-test-page/
×