thumbnails : number, text font and alignment

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Re: thumbnails : number, text font and alignment

Postby sushi02 » 24 Feb 2012, 10:56

Pouah Pouah Pouah !

This world goes better when people are united. Sayontan and Colin you just gave me the "cherry on the cake" as we say in my country.

It was about give some more pixels you right.

Well well well, thank you very much for all your help.

Shame on me, I just graduated from Software Engineer and Im not able to deal with that :-( (I slept at php class).

Thank you again million times.

And keep doing this wonderful job boss !
sushi02
 
Posts: 19
Joined: 09 Nov 2011, 09:23

Re: thumbnails : number, text font and alignment

Postby sushi02 » 08 Apr 2012, 12:11

Hi !

It's me again !

I come back because, I just figure out a new problem related to this post.

You used to give me the code to make the thumbnails alignement based on the pictures and not the text.
It worked perfectly.
Also you gave me the code to change the Font for the description (title) of each thumbnail.

here is the problem : It works perfectly for the main page, but I just realized that when I click on a category, the font change and make the thumbnails mixed up as you can see (http://www.sajou.eu and then you select a category whatever)

How can I do with it please ?


Optional Question : Where is the file for resizing the image (from normal image to be thumbnail for example). Because I need to locate it for the plugin named 'related post'.

Thank you in advance gentlemen.
sushi02
 
Posts: 19
Joined: 09 Nov 2011, 09:23

Re: thumbnails : number, text font and alignment

Postby drake » 08 Apr 2012, 14:14

In the first code that I gave you replace 0.9em with a fixed size for font-size (for me look like 13px is the correct value). Your new code will look like this:
Code: Select all
a.suf-mosaic-post-title {
font-size:13px;
font-weight:bold;
color:#000;
}

This assure that on all pages the tiles will have the same fonts for titles. Now take a look at your categories pages, specially at those with long titles for pictures. If is still needed adjustements (tiles isn't all aligned) go to the last code that I gave you, where you change the min-height to 200. Increase again that min-height by steps of 5 or 10 px until all tiles became aligned.

Or you can replace "min-height" with just "height" - in that way all the tiles will have a fixed height with long titles trimmed when is reached the end of box. That was the reason when I tell you to use the min-height - is like a signal for you to know when a title is too long - when you see that the layout is messed up, you can short the title that mess up the things, increase the min-height value... or change min-height to height.
drake
 
Posts: 3805
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: thumbnails : number, text font and alignment

Postby sushi02 » 13 Apr 2012, 11:05

Drake, everytime here to save people !

Ha ha , thank you again for your precious help.

It works, just i have a question : in categories, the titles have a bigger space between two lines, is this normal ? I mean a bigger space than the main page.

You can see the difference (http://www.sajou.eu), maybe I don't explain well.

And also what about the css file to resize picture to be thumbnails ? Do you know which one is it ? Because I need to locate it for the plugin 'related post'.

Thank you again !
sushi02
 
Posts: 19
Joined: 09 Nov 2011, 09:23

Re: thumbnails : number, text font and alignment

Postby drake » 13 Apr 2012, 11:42

The next code added at Custom Style will assure the same distance between lines in titles on all pages.
Code: Select all
a.suf-mosaic-post-title {line-height:17pt;}


Thumbnails are not generated by CSS. Generally those plugins deal with images from posts or with standard featured Wordpress.

Warning! After you install the plugin for related posts don't activate it, look first in the plugin directory. If you see there the file timthumb.php and a subfolder cache delete the plugin imediatelly. Yesterday I had one of my multisites installation hacked via Timthumb from WP Thumbie or KC Related Posts even if they claim that the last version of Timthumb is secure, look like isn't.
drake
 
Posts: 3805
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Previous

Return to Support Requests

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests

cron