Jump to content
Sign in to follow this  
bsaul

Centering the category page

Recommended Posts

bsaul    1
bsaul

Hi I'm working on this new site for a client who has very specific requests, to which I said "PageLines can do all that" ;-) So here I am asking for your expert guidance, please. We want the category page to be centered. Only to show images ( and I'll set the width of each to be the same), but all in one simple, clean column in the middle. Have tried various css options but not working... Any ideas? Thank you Babs

Share this post


Link to post
Share on other sites
Jenny    33
Jenny
You'll probably have to do it all with CSS. Maybe try some margin settings or text-align. For the stuff you don't want to display, you can use the display property but you will need to make sure you add the parent level ID/class for the body or it will apply to all other elements on the site. Keep in mind we can't design your site for you but we can try to help point you in the right direction. ;)

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
bsaul    1
bsaul
Oh I do appreciate that, Jenny - it's my job to put the site together and I do look forward to helping others here as I get to grips with bending PageLines to my will ;-)

Share this post


Link to post
Share on other sites
gyoery    2
gyoery
[code] .c_img {margin: 0 auto;} /*centering images if you don't use the same width*/ .c_img img { min-width:200px; /*Using responsive design, the smallest you want your images to shrink*/ max-width: 100%; /*Since you have resp. design u'll need to overwrite the max-width, not the width. Keep this in mind for other elements/* } [/code] If this rescales other images that it shouldnt, cascade it the way you want. Hope this helps.

Share this post


Link to post
Share on other sites
Rob    547
Rob
Babs, On my own site, I created custom category (static) pages, with subcategories (I have lots of those) listed and linked below. I used an image but in essence, each link to the subcategories could have been manually entered and attached to an image (I used a plugin for that bit). If you want more info on that, let me know. I think Simple_mama's on the right track though.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
bsaul    1
bsaul
Thanks for your replies. What I'm doing instead is using Tumblr and editing that theme. I accepted rangealone's answer as I am finding the need to create individual category pages for the archives anyway, so that they show how I want them to. For that though I will need to find a better, automatic solution and when I do, will share it. I reckon I'll be able to give back to the forum after a few more months of being determined to get PageLines bending to my will ;-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×