How to modify category arhive layout?

Best WordPress theme for game news websites, game portals or whatever your preferred subject.
GK User
Wed Dec 12, 2012 2:11 pm
Hello,

I find the category archive layout far too big (see Blog menu on the demo site), and would like to modify it. Now I know how to set the featured image much smaller, however I don't know how to position the leading text right next to the image (see picture linked)

http://kepfeltoltes.hu/121212/Capture_www.kepfeltoltes.hu_.png

Can you please help me how to align the text on the right? Which css needs to be modified and where?

Thanks
User avatar
Senior Boarder

GK User
Wed Dec 12, 2012 8:20 pm
Hi,

Did you added float: left to the container containing the floated image? You should also remove the 100% if exists for this container.
User avatar
Administrator

GK User
Wed Dec 12, 2012 8:30 pm
I've now analyzed your code and you should do the following changes:

- for the figure.featured-image element please add:

Code: Select all
    float: left;
    width: 50%!important;


- for the figure.featured-image img please add:

Code: Select all
max-width: 90%!important;
User avatar
Administrator

GK User
Wed Dec 12, 2012 8:33 pm
dziudek wrote:Hi,

Did you added float: left to the container containing the floated image? You should also remove the 100% if exists for this container.


Yes, I did, however, there is no space between the image and the text. How can I add some pixels of space?

http://kepfeltoltes.hu/121212/361004311Capture_www.kepfeltoltes.hu_.png
User avatar
Senior Boarder

GK User
Wed Dec 12, 2012 8:43 pm
Please use tips from my last post ;) Becuase earlier I wasn't saw your page.
User avatar
Administrator

GK User
Wed Dec 12, 2012 8:51 pm
dziudek wrote:Please use tips from my last post ;) Becuase earlier I wasn't saw your page.


Thanks, it seems OK now. :)
User avatar
Senior Boarder

GK User
Thu Dec 13, 2012 2:12 pm
Hello,

Thanks for all the help so far. :cheer:

I would like to decrease the distance between articles in the category archive view (see yellow mark in the image)

http://kepfeltoltes.hu/121213/Capture_w ... es.hu_.png

I tried to find the correct parameter with Firebug for more than half an hour, but couldn't. :dry:

Can you please help? Thanks.
User avatar
Senior Boarder

GK User
Fri Dec 14, 2012 8:46 am
in the template.css file around line 249. you will find the following selector:

Code: Select all
.tag-page article, .category-page article, .search-page article


it contains the following margin property:
Code: Select all
margin: 20px 0 60px 0;
User avatar
Administrator

GK User
Fri Dec 14, 2012 5:56 pm
It works, thanks. :)
User avatar
Senior Boarder


cron