Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I have downloaded some psd templates that I must edit. In this case, I am attempting to continue the red bar across the black area that currently divides it. It is in bitmap form, however (no layer effects I can look at), so I'm wondering what the best way would be to make the red bar look like it seamlessly continues across this black gap?

Thank you in advance.

enter image description here

share|improve this question

3 Answers 3

up vote 1 down vote accepted

Unless I'm reading this wrong, the quickest way to do this is to just grab 1px of the area and stretch it out the whole length:

Grab 1px

Streeeetch

Finished Result

share|improve this answer
    
if you stretch the image and any imperfections will also be stretched with it. –  Matt Jun 20 '13 at 17:42

I would just zoom in and select the red color from the very bottom of the image, where it meets the thin red & black line. I'd create a large red rectangle in that color, covering the whole width of the page. Then I'd add a gradient overlay of black fading to transparent, with the black starting at the top and fading to transparent at the bottom. I'd make that whole overlay semi-transparent until I matched the original.

share|improve this answer
    
tldnr; don't match it, re-make it. –  horatio Jun 20 '13 at 17:02
    
Thanks a lot, I'll try this. –  zakgottlieb Jun 20 '13 at 17:10
    
Hm, I'm trying this, but it's not really black fading to transparent - more dark red fading to lighter red... –  zakgottlieb Jun 20 '13 at 17:27
    
Also, re: "I'd make that whole overlay semi-transparent until I matched the original." Do you mean lowering the opacity of the new layer while continuing to tinker? I'm not sure how this would achieve the match, as making the layer semi-transparent would itself be altering it :( –  zakgottlieb Jun 20 '13 at 17:29
    
Hi Zakgottlieb, I meant I'd lower the opacity of the gradient overlay. When you're in the Layer Style dialog box, right below Blend Mode is an opacity slider. It is set at 100% as a default. You can slide that down (or type a number) to reduce the opacity of the gradient so more of the original shape shows thru. –  PixelGraph Jul 2 '13 at 14:51
  • open in Photoshop
  • 1 pixel width guide by however height it is
  • use the rectangle Marquee Tool
  • Edit > Define Pattern
  • Rectangle Tool with Fill Pixels selected
  • Right click on layer you just added the box
  • Blending Options
  • Choose the pattern you just made.

enter image description here

enter image description here

enter image description here

enter image description here

It would better if you did this in code

to do this look up CSS3 gradients. Some good examples here at CSS-tricks and here is a generator. Your code would look something like this for the gradient:

.linearBg2 {
  /* fallback */
  background-color: #1a82f7;
  background: url(images/linear_bg_2.png);
  background-repeat: repeat-x;

  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(#2F2727));

  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #2F2727, #1a82f7);

  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #2F2727, #1a82f7);

  /* IE 10 */
  background: -ms-linear-gradient(top, #2F2727, #1a82f7);

  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #2F2727, #1a82f7);
}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.