pancakes

MicrostockGroup Sponsors


Author Topic: Background images  (Read 1876 times)

0 Members and 1 Guest are viewing this topic.

« on: May 29, 2013, 20:10 »
0
Has anyone successfully integrated a background image?  I was trying to do that now but did not realize that all of the navigations and where text stuff goes was completely transparent.  I've been working with the child theme and over-riding the main SY theme but I don't think it's going to work out at all.  So I may have to ditch the idea. 

You can get a laugh at my oops at http://images.mddu.com/

I'm thinking about taking that image and putting a white background right in the middle or redoing it altogether.  I'm open to any suggestions.

Thanks for bearing with me through this.


Reef

  • website ready 2026 :)
« Reply #1 on: May 29, 2013, 21:02 »
0

Try something like this

.home-content {
    background: #ffffff;
}

For your background image you probably want to scale it to fit, so add something like this

background-size: 100%;

« Reply #2 on: May 29, 2013, 21:42 »
0
Thanks Reef I shall try that right now.

« Reply #3 on: May 29, 2013, 22:17 »
0
It worked but I have a padding issue with the horizontal menu in relation to the content below.  I think I'll just make a new image put the vines on the left then a big white block on the right and see how that works.

« Reply #4 on: May 30, 2013, 00:42 »
0
I did have one but could not get everything to line up so reverted back to white but nave another idea for when ii get time to try it.

Leo Blanchette

« Reply #5 on: May 30, 2013, 00:47 »
0
Am I misunderstanding anything? The question is how to assign a background image using the child theme?

« Reply #6 on: May 30, 2013, 01:01 »
0
I got the background image to work on the child theme but the main nav stuck out to the side when I used the css Reef posted earlier.  That made the background white but the navigation stuck out to the left and the content underneath needed more white space on the left.  I couldn't figure out which css code changed the padding.

Right now I'm good.  I'll stick to the plan that I had with the vines then the white space to the right to add a little interest to the page.  The only thing right now I can't find and change is the blue link color on my recent post widget.  That and I need to put my logo where it needs to go.  I edited a core file as well and need to remember which one(s) that was so I can copy them over to the child theme.


 

Related Topics

  Subject / Started by Replies Last post
3 Replies
4345 Views
Last post February 18, 2011, 16:14
by WarrenPrice
3 Replies
2012 Views
Last post January 30, 2014, 09:42
by JPSDK
14 Replies
3579 Views
Last post April 09, 2014, 15:35
by DF_Studios
20 Replies
7544 Views
Last post September 15, 2016, 10:34
by sharpshot
6 Replies
2192 Views
Last post September 29, 2020, 07:28
by YadaYadaYada

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors