Jump to content


Photo
- - - - -

pls help me with

background image transparent post

  • Please log in to reply
9 replies to this topic

#1 romanondrasek

romanondrasek

    Member

  • Members

  • 22 posts
  • Country: Country Flag

Posted 01 August 2014 - 08:13 AM

Hi, I have an idea how to change the site, but not sure how to create :-( 

 

I saw here some tips how to create transparent backgound, but I think Im doing some mistake somewhere :-(

 

so :

 

I add background image for the site here :

 

https://www.dropbox....1 10.06.01.png 

 

I setup for the area in area stylings for backgroud "no background"

 

https://www.dropbox....01 10.11.05.png

 

but if I add the css code in custom css for post is is still in the background base color :-(

 

 

My idea for the site is something like is the picture :

 

https://www.dropbox....r3r/mf-idea.jpg

 

could you pls help me with this ? thanx so much.

 

Roman

 

 

 



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17966 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 01 August 2014 - 12:49 PM

Hi,

 

The first image gives a 404 also, can you give us a link to the site in question please, so we can see what you have at the moment.



#3 romanondrasek

romanondrasek

    Member

  • Members

  • 22 posts
  • Country: Country Flag

Posted 01 August 2014 - 01:45 PM

Hello, here is the link again, 

 

https://www.dropbox....01 10.06.01.png

 

I will add the image in background now, but I'm working on the real site www.myfit.cz

Roman



#4 romanondrasek

romanondrasek

    Member

  • Members

  • 22 posts
  • Country: Country Flag

Posted 01 August 2014 - 01:49 PM

Thanx for help. Roman



#5 Danny

Danny

    Is Awesome!

  • Moderators
  • 17966 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 03 August 2014 - 10:16 AM

On the site you linked, you appear to be using the RevSlider section. If you want to add a background image and then add other sections that overlap that background image. What you're going to need to do is add a Canvas section to your template, then upload a background image to it. From here, add whatever sections you like and position them. Once they're in the correct position, you're going to need to use custom CSS to remove the background color from those sections, so that you can see the background image under them.

 

You can't really do this with the RevSlider, unless you're prepared to use the Extra Slider options and custom HTML.



#6 romanondrasek

romanondrasek

    Member

  • Members

  • 22 posts
  • Country: Country Flag

Posted 26 August 2014 - 03:27 PM

Hi Danny,

thanx for help :-) Now I understand. Just have another question according this :

 

I upload picture like a background. And I would like to use same or similar with same proportions on other sites. But - like to fix the size of the picture. It seems that it change the size with the size of the column.

 

you can see it here :

http://www.myfit.cz/o-nas/

 

and here is same picture on the background but the size is different.

 

http://www.myfit.cz/...tuality-my-fit/

 

Sorry for this question, but I donť know how to realize  this idea :-(

 

Roman



#7 romanondrasek

romanondrasek

    Member

  • Members

  • 22 posts
  • Country: Country Flag

Posted 27 August 2014 - 09:04 AM

Hi again, no I see, that if I will setup the image in the canvas area like a parallaxed and repeat background image it fix the size of the image. but - my idea was to have just one image in the background with place in the middle for the text. I don't know how to setup this (the image need some specific size ??)

 

thanx

 

Roman



#8 Danny

Danny

    Is Awesome!

  • Moderators
  • 17966 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 27 August 2014 - 10:40 AM

If you want to have a background image, then you will want to upload your image to the DMS Toolbar > Site Settings > Color & BG and use the background image upload and do not use the repeat option, instead use fit to page. By adding your image to a Canvas area, all you're doing is adding an image to that area, so if you add content beneath the Canvas area you're not going to have your image used in that area.

 

Also, your image appears to contain an area that as far as I can tell is supposed to be used as a content background. You shouldn't really do this, instead you should just have your background image and then style your content area so that it has the style you currently have in your image. The reason for this is that doing the method you have now, can be a bit of a pain to get the content and image in the correct position.



#9 romanondrasek

romanondrasek

    Member

  • Members

  • 22 posts
  • Country: Country Flag

Posted 27 August 2014 - 11:25 AM

thanx for the answer.

 

My idea was to have different pictures for different pages, but with the same "place" for the text (for example on the site about walking program to have picture with walking).

 

I understand, that I should upload one image for the whole site here

 

https://www.dropbox.....00.45.png?dl=0

 

but will be same for all site, right?

 

Or is there some option to have different pictures in the background on different sites? (maybe to have just it in the canvas area like now and just setup the place for he text (WP Content/Loop) in css?

 

And - if I will do that how I have to change css to have just the box (place for the text) in this color (or in this color but semitransparent). 

 

Or - another option - should be in the background pictures like I have and the text of post will "scroll in the box" with fixed height and width?

 

I know that your are not doing support with custom ccs changes, but will be kind from your to help me with this (I like DMS).

 

thanx

 

 

 



#10 Danny

Danny

    Is Awesome!

  • Moderators
  • 17966 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 27 August 2014 - 12:53 PM

HI,

 

If you upload an image using the background image option then that background image will be used throughout your site. Therefore, the only way to have different background images on a per page basis would be to use custom CSS.

 

WordPress adds a unique class to the body tag on all pages, you can use theses classes to add individual background images to your site.

 

For example:

 

Blog page code would be

 

body.blog .site-wrap {

  background: #F00;
}
 
For a specific page you will need to locate the ID of that page, you can do this by inspecting the body tag using Chromes dev tools, the class will look something like this page-id-1 or page-id-35353
 
Then you can prefix your code with that class so that the styling effects that page only, for example:
 
page-id-1 .site-wrap {
  background: #428bca;
}
 
You can also use background-image to include your image, see here for more information - http://www.w3schools...round-image.asp
 
 






Also tagged with one or more of these keywords: background image, transparent post