Community Forums › Forums › Archived Forums › Design Tips and Tricks › Should I edit the PHP or CSS in Expose Theme
Tagged: expose, image size
- This topic has 7 replies, 3 voices, and was last updated 12 years, 4 months ago by
Kates.
-
AuthorPosts
-
March 19, 2013 at 12:01 pm #29436
dustin100
MemberI'm currently using the expose theme and I want to change the image/box size that appear on the home page but, I don't know if i should edit the PHP or the CSS.
The CSS i can edit would be
#content .portfolio-posts {
background: #FFFFFF;
float: left;
width: 280px;
min-height: 280px;
margin: 0 10px 10px 10px;
padding: 9px 9px 9px 9px;
border: 1px solid #D5D5D5;
display: inline;
-moz-box-shadow: 0 0 3px #BBBBBB;
-webkit-box-shadow: 0 0 3px #BBBBBB;
overflow: hidden;
}
or the PHP functions page, which would be
/ Add new image sizes
add_image_size('Featured', 280, 150, TRUE);
March 19, 2013 at 12:09 pm #29441Brad Dalton
ParticipantMarch 19, 2013 at 12:35 pm #29454dustin100
Memberunfortunately I don't have anything up yet. I've been testing out posts and sizes, then deleting them. But, here is the link to the demo http://demo.studiopress.com/expose/
I want to change the size of the box so it doesn't have so much white space at the bottom(text area) Also, I want to make sure the image doesn't get cutoff. Currently the top and bottom of my image gets cutoff. Or if you could explain what editing each one does, that might help too.
Thanks for the help!
March 19, 2013 at 12:37 pm #29456Brad Dalton
ParticipantOnce you get them up, please paste a link here and we can inspect the elements using Firebug so we know which code to modify.
August 22, 2013 at 7:24 pm #58334Kates
MemberI would like to know how to remove the whitespace under the homepage box once we remove the text under the photos.
Thank you!
August 22, 2013 at 10:56 pm #58361Brad Dalton
ParticipantAugust 23, 2013 at 9:28 am #58416Kates
MemberAugust 23, 2013 at 9:32 am #58417Kates
MemberI also have found the restriction on the title length to be a problem, as they are so important with the search engines. At present, I just put very small slugs in (one or two words) so there is something there. I'd like to hide the title tags on the home page so it doesn't affect the alignment of the grid because if my title is over by just a few words, it knocks it all out of order.
I really don't care about hiding the title on the post pages, as it does not affect anything there.
It is the home page that I'd like to hide titles and get rid of that white box under the photo (I already know where to remove the post text on the home page - just not the white space.
Can I use firebug with chrome? Is there another that I can use?
Thanks - would love to figure some of this out on my own. I've just been searching code at present to try and muddle through customization myself.
Kate
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.