Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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

    Blog Idea

    #987696

    Hey Mike,

    Could you post a link to your blog page so that we can have a closer look please?

    Best regards,
    Rikard

    #987737

    Hi 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.
    #988212

    Hi Mike,

    You can try using the magazine element with slight css adjustment to achieve this.
    Here is the demo

    Best regards,
    Victoria

    #988307

    Thank 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.
    #988431

    Hi,
    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,
    Mike

    #988443

    Many 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

    #988473

    Hi,
    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,
    Mike

    #988589

    Hi 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

    #988676

    Hi,
    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,
    Mike

    #988685

    Hi, 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.

    #989012

    Hi,

    @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,
    Mike

    #989081
    This reply has been marked as private.
    #989129

    Hi,

    @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,
    Mike

    #989643
    This reply has been marked as private.
    #989966

    Hi,

    Unfortunately no, that is a change that does require php to be done :(

    Best regards,
    Basilis

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.