-
AuthorPosts
-
July 19, 2018 at 9:31 am #987310
I have what I think is a simple request, but cannot fathom out how to get the Blog Post feature to achieve what I want.
I’ve attached a link to a mock up, quite simply a thumbnail image to the left, with an excerpt of the blog text to the right of the image …
So it could be just one post … or a quantity, in a vertical column display.
Is this possible or am I looking beyond the scope of Enfold in this aspect?
Many thanks
Mike
July 20, 2018 at 6:22 am #987696Hey Mike,
Could you post a link to your blog page so that we can have a closer look please?
Best regards,
RikardJuly 20, 2018 at 9:06 am #987737Hi Rikard
The blog, which is within the website, uses a grid format, as you can see, towards the bottom of the home page:-
However, what I want to be able to do occasionally, is just add one post from a specific category, similar to on the top of that page, which is just an image, this was the only quick solution I could work out.
I want the format for these one-off posts to be rectangular, with a small photo at the left side, then some of the blog text to the right, and a ‘read more’ link …
Can you understand my description.
I guess you’d call it a vertical table layout?
Many thanks,
Mike
- This reply was modified 6 years, 4 months ago by harmonyfm.
July 21, 2018 at 8:39 pm #988212Hi Mike,
You can try using the magazine element with slight css adjustment to achieve this.
Here is the demoBest regards,
VictoriaJuly 22, 2018 at 10:25 am #988307Thank you Victoria … fantastic, that’s basically what I wanted to achieve, I just hadn’t realised I could look beyond the ‘blog’ section of Enfold!!
Much appreciated!
Is it easy to make the thumbnail a little larger with CSS please?
Mike
- This reply was modified 6 years, 4 months ago by harmonyfm.
July 22, 2018 at 4:28 pm #988431Hi,
When I looked at your page I found a magazine element on the bottom half of your page so I assume it is the section you are working on. To make the images larger try this code in the General Styling > Quick CSS field:.av-magazine .av-magazine-thumbnail,.av-magazine .av-magazine-thumbnail img { width: 180px !important; }
I also assume that you will want the text larger too, so try this css:
.av-magazine .av-magazine-content-wrap h3.av-magazine-title{ font-size: 3em!important; }
Please feel free to adjust both to suit.
You may notice that the images are blurry because the magazine thumbnails are actually half the size and then scaled up to fit, to correct this please install the plugin Simple Image Sizes and go to WordPress > Dashboard > Settings > Media > Media Settings and change the size of the thumbnail size to your new size. Then use the “Thumbnail regeneration” option lower on the same page.
Best regards,
MikeJuly 22, 2018 at 5:32 pm #988443Many thanks Mike
I’ve added the CSS and now playing with the image regeneration!
I don’t need to alter the text size, but thanks for the code just in case.
Would you know how to reverse the date / title?
I’m getting the date above the post title and I’m almost sure that in the link Victoria sent earlier, it was reversed, which to me seems neater.
Thanks again!
Mike
July 22, 2018 at 8:02 pm #988473Hi,
Do you mean that you would like year/month/day ?
Please try going to WordPress > Settings > General > Date Format
and choose “custom” and enter “Y/m/d”Best regards,
MikeJuly 23, 2018 at 5:40 am #988589Hi Mike
I was meaning that right now, each entry listed in the magazine, shows the date on one line (the first line), and under that line is the Post title.
I’m sure it was reversed on the example page, which is better for me.
Many thanks,
Mike
July 23, 2018 at 12:59 pm #988676Hi,
Oh, I see, Try adding this code to the end of your functions.php file in Appearance > Editor:function move_date_script(){ ?> <script> jQuery(window).load(function(){ jQuery( '.av-magazine-entry' ).each(function() { jQuery( this ).find( 'time.av-magazine-time' ).insertAfter( jQuery(this).find('h3.av-magazine-title') ); }); }); </script> <?php } add_action('wp_footer', 'move_date_script');
Best regards,
MikeJuly 23, 2018 at 1:29 pm #988685Hi, I hope my questions fit to this topic. I use single post style with big preview image, style modern business. Post titles are huge on mobile. How can I make them smaller? I used various CSS classes I found on the forum. None of them worked. This was the last one, didn’t work either: template-blog .post-title { font-size: 22px !important; }
One more question related to archive pages layout. Unfortunately the category pages list full-length posts rather than feature images+excerpt+read more. How can I modify the layout? Thanks in advance.July 24, 2018 at 4:08 am #989012Hi,
@darnott75 This is a bit off topic, please open a new thread with the url to your site so we can investigate which classes will work for you.
You can modify the category pages layout with a function, here’s three to test, please only use one at a time://change category page layout to blog single small style add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-small'; return $layout; }
//change category page layout to blog single big style add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-big'; return $layout; }
//change category page layout to blog grid style add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'blog-grid'; return $layout; }
Best regards,
MikeJuly 24, 2018 at 9:56 am #989081This reply has been marked as private.July 24, 2018 at 12:14 pm #989129Hi,
@darnott75 We are happy to help, sorry I meant to tell you to try adding the code above to the end of your functions.php file in Appearance > Editor
But please only use one code snippet at a time. Notice the first line says what type of layout it is, “single small”, “single big”, or “grid”Best regards,
MikeJuly 25, 2018 at 12:10 pm #989643This reply has been marked as private.July 25, 2018 at 10:39 pm #989966Hi,
Unfortunately no, that is a change that does require php to be done :(
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.