nadadeda
Member
Posted 11 months ago #
Hi!
I would like to know how to line the images to the left side of the page, just below the titel of the post. And right now the images don“t fit into on page, they are being croped. All images are originally max. 700 width and max 600 height.
I've tried to figure it out myself, but I can't resolve it. So if anyone have a clue please let me know, thanks!
Page:
wwww.gravityandgrace.se/wordpress
nadadeda
Member
Posted 11 months ago #
this is whats causing your img to center, you could change to text-align left or just delete it. It will effect the images on any other gallery pages you may have though.
.gallery .gallery-item{ text-align:center}
not to sure about the cropping without playing around with it myself but I wonder if this might be causing the issue? try deleting that for a moment if it doesnt work it may be a function thats cropping it?
.gallery .gallery-item .gallery-icon img{max-width: 89%}
nadadeda
Member
Posted 11 months ago #
Great!
I'm not sure where I should edit, here's my code:
.gallery {
clear: none!important;
float: center;
}
.gallery img {
border: 0px!important;
}
.entry {
clear:both;
}
.photogalleria {
width: 490px;
}
div.photogalleria > ul.gallery_list {
margin-left: 20px;
}
.page .article .photogalleria {
width:100%!important;
under gallery where it says float:center, theres no such thing, you can delete that. The code i showed you looks to be in a gallery.css file so look in there you should be able to find it.
nadadeda
Member
Posted 11 months ago #
Thanks, but I can't seem to find a gallery css file... There's only a style sheet a lot of php's... Any suggestions?
are you using some sort of gallery plugin to achieve this?
nadadeda
Member
Posted 11 months ago #
yes maybe I do?
There's something called Cleaner gallery, although I have disable something called JQuery gallery...
visit the plugin settings page for that plugin and look for gallery.css, you should find it in there hopefully :)
nadadeda
Member
Posted 11 months ago #
Thanks again!
Sorry, this is too hard for me to find. :) I have Cleaner gallery activated and I found the editing page, but I can't figure out what to edit. Here's the full CSS page: http://pastebin.com/BFLwk7Lk
There are also a couple of more CSS pages:
cleaner-gallery/gallery.php
cleaner-gallery/readme.txt
cleaner-gallery/admin.php
cleaner-gallery/readme.html
cleaner-gallery/readme.css
cleaner-gallery/admin.css
cleaner-gallery/license.txt
cleaner-gallery/cleaner-gallery.php
cleaner-gallery/gallery.css
The first one is the one I posted now.
At the same time, as I have mentioned, I disabled the JQuery gallery... what's the correlations between those two?
nadadeda
Member
Posted 11 months ago #
Sorry, I just realized there's both php and CSS. I will look into to the CSS's first and see if I can do it...
nadadeda
Member
Posted 11 months ago #
Yes! It worked. I made changed the tex-aligned and it looks good now! And the images displayes fully! MANY THANKS!
Another (maybe complicated?) thing. At the moment I have a side bar on the this single post page that I'd like to remove, then there will be more space for the images even larger images... that would be my wish!
nadadeda
Member
Posted 11 months ago #
I think I solved that too, thanks a lot for your guidence!!!
It's kind of "temporary" though, I just set the sidebar width to "0".