• GregDougherty

    (@gregdougherty)


    Hi Guys,

    I was just wondering if anyone had any solutions for removing this tiny gap from between two images on my page (link included). I am wanting to push the two imaged together with no gap but can’t find a way for the life in me..

    Thanks for your time, Greg.

    http://www.proleagues.co.uk/sign-in/

Viewing 14 replies - 1 through 14 (of 14 total)
  • stephencottontail

    (@stephencottontail)

    Can you clarify which two images you’re talking about?

    Thread Starter GregDougherty

    (@gregdougherty)

    Hi Stephen,

    It is the grey header image with the gold diamond in the center, and the “Welcome to Pro Leagues” directly below it.

    Thanks for your help,

    Greg.

    stephencottontail

    (@stephencottontail)

    Since you already have a child theme, add this to your child theme’s stylesheet:

    #pg-76-1 {
    margin-top: -10px;
    }

    You can experiment with different values, but note that it must be a negative number. Also, since you’re using a caching plugin, you may need to either force a browser refresh (see your browser’s documentation) or temporarily disable your caching plugin before you see any changes.

    Thread Starter GregDougherty

    (@gregdougherty)

    Hi Stephen,

    Just seen the changes, and thankyou very much for the help, it worked perfectly!

    BUT, I have another mission for you šŸ˜‰ on our http://www.proleagues.co.uk/sign-in page, the right hand side panel i cannot seem to get flush with the header (need to align to the right) and I am having the same problem with the bottom panel with the annoying gap..

    Thanks for everything,

    Greg.

    stephencottontail

    (@stephencottontail)

    I can see what’s wrong with the righthand panel, but I can’t get it to look quite right. This is a bit of a hacky solution, but try this:

    #panel-76-1-2-0 {
        padding-left: 38px;
    }

    You can play with the value until it looks right to you.

    For your second question, can you clarify which panel you’re trying to move. Are you trying to move the bottom panel where it says “All rights reserved. ProLeagues 2014 (c)”? If so, in your child theme’s stylesheet, try this:

    #colophon {
    	margin-top: -24px;
    }

    Again, you can play with the values until you like the look.

    Thread Starter GregDougherty

    (@gregdougherty)

    Stephen,

    The first code worked a treat, you’re a genius!

    The second one however i don’t think i’ve made clear.. I am wanting to push the panel just above the footer up to the side panels.

    Meaning the bottom panel with the diamond (match the top) flush with the side panels, like you did for me earlier!

    Thanks again Stephen,

    Greg.

    stephencottontail

    (@stephencottontail)

    Hmm. I’m not sure that’s possible with the current image. The problem is that the top diamond makes the edge of the image stick out past the top orange line, and because the background of the image is dark gray, it covers up the side panels when the image is moved up. You might consider making the background transparent or you could flip the image vertically so the diamond would be on the bottom instead.

    Thread Starter GregDougherty

    (@gregdougherty)

    Hi Stephen,

    I have flipped the image around to try sort the problem, is that any easier?

    Thanks,

    Greg

    Thread Starter GregDougherty

    (@gregdougherty)

    Bump

    stephencottontail

    (@stephencottontail)

    Something seems to be wrong with your site. When I look at the sign in page that you linked (9:30AM, Mountain time zone), I no longer see the side panels.

    Thread Starter GregDougherty

    (@gregdougherty)

    Hi Stephen,

    Thanks for having the time and patience to stick with this, it really means alot!

    I have changed all the previous HTML panels all to JPG, has this made any difference?

    Thanks again, Greg.

    stephencottontail

    (@stephencottontail)

    Yeah, it looks like it did before, now. In your child theme’s CSS, try this:

    #panel-76-2-0-0 {
    margin-top: -24px;
    }

    Again, you can change the margin-top value until it looks right.

    Thread Starter GregDougherty

    (@gregdougherty)

    YOU GENIUS!

    Thankyou for all your help, that should be everything for now, I managed to mimic this onto my register page too (thanks to you obviously).

    That’s the template for my log in and register page and you’ve made it look great! Would I be ok to contact you if I need any more help? You’ve been fantastic.

    Thanks alot, Greg.

    (FINAL PIECE) http://www.proleagues.co.uk/sign-in
    http://www.proleagues.co.uk/register

    stephencottontail

    (@stephencottontail)

    I appreciate the thought, but I’m afraid not. Here, we are supposed to keep all contact on this forum so that all users may benefit from the questions and answers. If you do have any more problems, though, feel free to post here again.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Removing small gap between pictures?’ is closed to new replies.