How do I make this graphic go to the edge of the site.

I have a site here:

 http://cardinalfenceinc.com/faq-page-1/

and I am trying to make the fence background go all the way to the right edge of the design like in the attached graphic.

Any help is appreciated.
fence.png
Donnie WalkerAsked:
Who is Participating?
 
Tom BeckCommented:
Or, use background-size: 100% 87px in .page-title-container. This keeps the height consistent.
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Hard to say without more of the code to look at, but what you want is to repeat the graphic horizontally.
0
 
Donnie WalkerAuthor Commented:
Normally yes, but the person who designed this made it one long graphic.

And it worked before the theme was upgraded.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Tom BeckCommented:
How about adding background-size: cover to .page-title-container? It changes the thickness of the pickets as the screen size changes, but it fills the space to the right edge.
0
 
Paul MacDonaldDirector, Information SystemsCommented:
The graphic is 1000px wide and it's in a container that's almost 1200px wide.  The blank space at each end is the result of that size discrepancy.  You can replace the graphic, resize the graphic, or resize the container.  

Since the graphic has white space on the left to accommodate the page title, repeating the graphic horizontally isn't a good option here anyway.

Personally, I'd just edit the graphic to widen it so it fit the new container.
0
 
Donnie WalkerAuthor Commented:
thanks Tom! That worked and it was responsive.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.