Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Change thumbnail size in post above colums with Multi Colums Custom Query homepage


  #1  
Old Dec 2, 2013, 12:50 AM
Staysimple
 
26 posts · Nov 2013
At first I thought put a full post above column on my homepage MCCQ model, but I did not realize that if my post had more photos and a long text, it would not look nice on the homepage.

So I opted for a post above the columns, which is an excerpt of the full-post, and the image is an featured image , I want this and only this image is as large as a picture whole article (600 x 400 px)

how can I change the size of that thumbnail in the css code or changing the "src" in the html?

I tried to change the size of that thumbnail, in css, but the quality was very bad, because it was just a thumbnail resized ...
  #2  
Old Dec 2, 2013, 04:30 AM
juggledad's Avatar
juggledad
 
23,685 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The easiest way to handle this is to make a manual excerpt in the post. A manual excerpt will always take precedence over an automatic excerpt and you can put an image in the manual excerpt the size you want. You may still have to add some CSS to hide the featured image for that post though.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by lmilesw; Dec 3, 2013 at 12:10 PM.
  #3  
Old Dec 3, 2013, 12:33 AM
Staysimple
 
26 posts · Nov 2013
How can i make an manual excerpt in the post ? with the "<!--more-->" ?

Because j'ai essayé mais cela ne marche pas ...
  #4  
Old Dec 3, 2013, 04:43 AM
juggledad's Avatar
juggledad
 
23,685 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
when you edit a post there is a section labeled 'Excerpt' - if you don't see that, click on the tab 'Screen Options' at the top right of the window and in the 'Show on screen' check off the 'Excerpt' box. Now you can enter a manual excerpt
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 3, 2013, 06:06 AM
Staysimple
 
26 posts · Nov 2013
Yes, I have this "Excerpt" area in the edit menu post, but what I dont understand is how do I choose an image that would have a larger size that "featured image" to a that automatically appears, from the "Excerpt" zone?
  #6  
Old Dec 3, 2013, 06:29 AM
Staysimple
 
26 posts · Nov 2013
I tried to enter the url of my image in extract zone, and if I do that, I have a big image and a featured picture on my homepage, you say that I hide the featured image on my homepage with css code, but against on my pages "archives" and "categories", I also featured image and the big picture ... i dont know what to do
  #7  
Old Dec 3, 2013, 06:34 AM
Staysimple
 
26 posts · Nov 2013
I think the easiest way would be to show my full article above the colomns and find a way to make functional "more tag" on the homepage MCCQ ... What do you think?
  #8  
Old Dec 3, 2013, 06:37 AM
Staysimple
 
26 posts · Nov 2013
rectification my homepage is a "static" page
  #9  
Old Dec 3, 2013, 06:56 AM
juggledad's Avatar
juggledad
 
23,685 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
what I dont understand is how do I choose an image that would have a larger size that "featured image" to a that automatically appears
you add an <img…> html statement in and define the size - if you go to the media library and select the image and size, it should give you the url to use.

Quote:
I tried to enter the url of my image in extract zone, and if I do that, I have a big image and a featured picture on my homepage, you say that I hide the featured image on my homepage with css code, but against on my pages "archives" and "categories", I also featured image and the big picture ... i dont know what to do
you use 'body.someclassname' as part of the CSS selector to targer it to only that page
Quote:
I think the easiest way would be to show my full article above the colomns and find a way to make functional "more tag" on the homepage MCCQ ... What do you think?
it doesn't matter what I think, it's what you think - it's your site.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Dec 4, 2013, 12:45 PM
Staysimple
 
26 posts · Nov 2013
OK, I try to follow your advice, and I was able to hide the featured image on the home page in the first post with this code

Quote:
td#mccq-header img.attachment-post-thumbnail{
display: none;
Now, I am trying to put in the css code for the big picture of the Excerpt appears only on the home page and not in the categories pages, but I do not know how works "body.someclassname " I can't build the code, I searched on google but i didn't find...
  #11  
Old Dec 4, 2013, 02:57 PM
juggledad's Avatar
juggledad
 
23,685 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
tell me you didn't use 'someclassname'.

'someclassname ' or some class name is where you put the class name you need to use based on the page you are dealing with. You have to look at the source of the page and find the <body….> statement.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Dec 6, 2013, 01:16 PM
Staysimple
 
26 posts · Nov 2013
Well ! your last answer made ​​me think a lot, and finally I managed to find the last CSS code that I was missing, but I have not managed to find a code that forces my "full-size image" to display only on the homepage, so instead I found a code which prevents the full-size image to view Category-pages ...

Here is the code:

Quote:
body.archive img.aligncenter{
display: none;

Bookmarks

Tags
homepage, mccq, post above columns, thumbnail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get 3 post colums instead of 1 post colums. Tiago Montezuma Theme 5 Mar 18, 2014 02:58 PM
[SOLVED] Custom css with multi colums/custom query Staysimple Center area post/pages 14 Dec 1, 2013 07:20 AM
Insert Ads On Homepage When Using "Juggledad's Multi Column/Custom Query" MoriokFutai Atahualpa 3 Wordpress theme 11 Aug 15, 2013 05:10 AM
Show 1 post above 3 columns on home page using multi column/custom query template ljdj Center area post/pages 5 Sep 30, 2012 07:58 PM
How to display excerpts on widget and not on center posts colums? Antoine Sidebars & Widgets 1 Nov 2, 2010 12:26 AM


All times are GMT -6. The time now is 12:57 PM.


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