Wordpress Assistance

JRJ

Suspended / Banned
Messages
472
Name
Jas
Edit My Images
Yes
I'm new to Wordpress but I'm getting there slowly and always seem to find an answer to anything I get stuck on, but this query has me baffled.

http://www.jrjphoto.co.uk/places/

On this page I'm trying to remove the white border around the top image, i've tried searching and using codes etc but nothing I try seems to work.

Any ideas?

Thanks

J
 
That photo is linked to a page unlike the others that are linked direct to galleries, maybe try changing that and see if the border changes.
 
I'm new to Wordpress but I'm getting there slowly and always seem to find an answer to anything I get stuck on, but this query has me baffled.

http://www.jrjphoto.co.uk/places/

On this page I'm trying to remove the white border around the top image, i've tried searching and using codes etc but nothing I try seems to work.

Any ideas?

Thanks

J

You need to edit your 'style.css' file.

Search for:
Code:
.entry-content a img, #attachment-nav a img {

You'll see in the lines following that is has:
Code:
padding: 0.8%;

Change that to:
Code:
padding: 1px;

Then you need to search for:
Code:
.ngg-thumbnail img {

and in the following couple of lines you'll see:
Code:
padding: 4px;

remove that line completely.


This should do the trick...

Let me know if it's not quite what you're after.
 
That photo is linked to a page unlike the others that are linked direct to galleries, maybe try changing that and see if the border changes.

That's what I was wanting so I could do password protected galleries.

You need to edit your 'style.css' file.

Search for:
Code:
.entry-content a img, #attachment-nav a img {

You'll see in the lines following that is has:
Code:
padding: 0.8%;

Change that to:
Code:
padding: 1px;

I've done this bit, doesnt seem to have done anything?

Then you need to search for:
Code:
.ngg-thumbnail img {

and in the following couple of lines you'll see:
Code:
padding: 4px;

remove that line completely.

Cant find this in the style CSS?? :bonk:


Would there be a custom CSS that could help me out? escuse my stupid questions still trying to get my head around it all:thumbs:


Thanks
 
Sorry, only just seen this reply... did you manage to get it sorted?
 
I had sorted it, theme updated today and now its reverted back to original settings so I'll have to work out how I did it again.
 
Thanks for the link Dan I was actually reading that page yesterday but nothing seemed to sink in (I blame nightshifts) so its bookmarked for reading after a few days off.

To get around it at the moment I've just copy and pasted any custom coding into a work document as a backup.
 
Back
Top