Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Category page grid layout.


  #1  
Old Jun 25, 2013, 12:44 PM
sky captain's Avatar
sky captain
 
61 posts · Sep 2009
Category page grid layout.

I'm working on a talent agency site which has hundreds of models and actors, each with their own page. I'd like the category pages to display in a grid -- that's been a major hassle. I settled on Juggledad's multi-column template, but it's not quite as compact as I'd like.

Here's a sample:
http://nymodeltalent.com/site/women2/

So my questions...

1) I was thinking of shrinking the titles of each excerpt. First, I had trouble doing that. (Isn't it H1 in css/html inserts? Couldn't get it to work.) But if I do that, won't it affect the titles on the actual individual pages? That would be bad.

2) Is there a way to make each box the same height, so the gutters don't show so much? Variations in picture height and length of peoples' names cause different heights, and it's ugly.

3) If I reduced the margins around each excerpt, it might be better looking, but wouldn't that reduce the margins in individual pages too much?
  #2  
Old Jun 25, 2013, 07:44 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I would play with using the WP Gallery function perhaps along with the JetPack module for galleries. There is also another plugin for linking an individual image to a page or whatever.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jun 26, 2013, 03:04 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
1) I was thinking of shrinking the titles of each excerpt. First, I had trouble doing that. (Isn't it H1 in css/html inserts? Couldn't get it to work.) But if I do that, won't it affect the titles on the actual individual pages? That would be bad.

2) Is there a way to make each box the same height, so the gutters don't show so much? Variations in picture height and length of peoples' names cause different heights, and it's ugly.

3) If I reduced the margins around each excerpt, it might be better looking, but wouldn't that reduce the margins in individual pages too much?
you can target your SS by making the CSS Selector specific for that page by begining all the CSS with 'body.page-template-template_multi_column_custom_query-php' - this will effect any page you use teh template on or you could use 'body.page-id-3084' to target that one page
  #4  
Old Jun 26, 2013, 10:20 AM
sky captain's Avatar
sky captain
 
61 posts · Sep 2009
lmilesw: You're talking about creating a gallery, then manually linking each picture to the model's page? I think that'll be a last resort, since I have close to 200 models, and there's updates all the time. I'm trying to get this to automate based on categories.

juggledad: What do you mean by SS? Are you talking about making changes in the Add HTML/CSS Inserts area? That sounds promising, but I might need some example code to get me started. I'm not fluent in CSS -- I do most of my coding by copy/paste and trial and error.
  #5  
Old Jun 26, 2013, 11:25 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
What do you mean by SS?
fat fingers, should be CSS

you can use the FireBug extension in Firefox to see the css being applied and change it on the fly to see what you need to use.
  #6  
Old Jun 26, 2013, 01:29 PM
sky captain's Avatar
sky captain
 
61 posts · Sep 2009
Ok. So far, I've updated my column CSS as

Code:
body.page-template-template_multi_column_custom_query-php .mccq_column1 {width: 25%;}
body.page-template-template_multi_column_custom_query-php .mccq_column2 {width: 25%;}
body.page-template-template_multi_column_custom_query-php .mccq_column3 {width: 25%;}
body.page-template-template_multi_column_custom_query-php .mccq_column4 {width: 25%;}
That's an improvement over naming EACH of my category pages one by one. (That was 14 individual category pages.

So I'm trying Firebug -- I've heard great things about it, but never been able to understand it. For one thing, the rollover function seems to give me only HTML results, not CSS. So now I'm left with 1000 lines of code to sift through. Starting by looking for H1 and H2 functions to change -- so far so good!

Any idea what to look for to reduce the padding in each box? It would be nice to fit in 5 columns.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid layout for archive Vanessa_S Atahualpa 3 Wordpress theme 7 Mar 9, 2013 04:04 AM
How can I center, in grid layout, pictures with captions on a page... Masselyn Center area post/pages 0 Nov 18, 2010 09:30 AM


All times are GMT -6. The time now is 02:08 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.