Halp!

Jul 28, 2016 01:00

Does anyone know their way around the Custom CSS coding for LJ?
I've got a custom layout for spn_locations and ever since last year the header I put up hasn't fit properly. There's a gap of white space on the right side and it's annoying me like crazy!

Here's what it looks like:

Read more... )

my lj comm, help, livejournal

Leave a comment

Comments 10

amberdreams July 28 2016, 10:51:38 UTC
Sorry, I'm a clueless numpty who didn't even know I could change my banner until Milly_gal showed me how.

Reply

raloria July 31 2016, 07:48:28 UTC
Heh, that's fine, hun.
I'm fine with basic HTML, but the CSS stuff really is confusing to me but - I want custom layouts. *sigh*

Reply


supernutjapan July 28 2016, 11:15:38 UTC
/* header */

.headerimage {
position: relative;
width: 950px;
height: 338px;
margin-left: auto;
margin-right: auto;
margin-bottom: -10px;
background-image: url(' ');
background-repeat: no-repeat;
}

This is my coding. The only thing I can see about the horizontal positioning of the header is that left and right margins are on "auto" and the position is set as relative... Have you tried those settings?

Reply

raloria July 31 2016, 07:31:59 UTC
This all that my Header coding section shows:

/* ----- header ----- */

#header {
margin: 5px 5px 0 5px; /* !!! */
border: 0;
background: url(http://i236.photobucket.com/albums/ff150/Raloria07/SPN%20Locations%20List/SPNLocationsHeader001.png~original) no-repeat;
height: 358px; /* !!! */
}

It's still a Flexible Squares layout code, if that helps any.
I'm still lost. :(

Reply

raloria July 31 2016, 07:50:20 UTC
Okay, I did some comparing with the custom layout coding for my own journal and ended up adding this to the CSS code for SPN_Locations:

background-position: center;

Which worked. I mean the header IS centered now without the big gap on the right side. Now there's just a lot of white all around it like there is with my own journal's header. *sigh*
I guess it's the best I can hope for.

Reply

supernutjapan July 31 2016, 08:27:17 UTC
Yay for figuring it out :)
I don't think the white looks funny, but I guess you don't want it you need to lengthen your header a bit;)

Reply


milly_gal July 28 2016, 12:05:13 UTC
You need to follow spj's html and then add in the right sizing for the original image. Test that out and see what it looks like, it should centre it.

Reply

raloria July 31 2016, 07:51:15 UTC
I think I managed to somewhat find a solution. At least it now looks the same as the header on my own journal - a lot of white space all around. *shrugs*

Reply

milly_gal July 31 2016, 12:18:00 UTC
Least you kinda figured it out hun *hugs*

Reply


Leave a comment

Up