• Resolved janew

    (@janew)


    I like to use thumbnails with the archive, but it displays the date first then the image, which for me is weird. I would like it to show the image first and then the date.

    I tried to make it do this with CSS, but I either don’t know how or it’s not possible.

    I have edited the code so it displays as I like, but I have to remember to do this every time there is an update – and you update very often. (That’s good! It means you care, and you have a great plugin, so keep up the good work!)

    Is it possible to make this an option? Or is there something I can put in my functions.php file to make it do this and not have to edit the file on every update?

    Thanks!

    https://www.ads-software.com/plugins/simple-yearly-archive/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wpseek

    (@alphawolf)

    Hi Jane, may you please provide a link to your archive so I can check if it’d be possible with CSS?

    Thread Starter janew

    (@janew)

    Is this what you want? This is how I have modified it to look.

    https://tinyurl.com/plxmwvb (NSFW: Site name and archive page contain “adult” language … links contain material unsuitable for sensitive eyes.)

    Plugin Author wpseek

    (@alphawolf)

    Hi Jane, I’d need the plugin’s original output. May you please revert the changes you made to the plugin? I need to see the original output in order to see if it’s possible to do the changes with pure CSS in your theme.

    Thread Starter janew

    (@janew)

    Okay, have changed back to your original code.
    https://tinyurl.com/plxmwvb

    Plugin Author wpseek

    (@alphawolf)

    Okay, I think I managed to solve it with pure CSS.

    .sya_container ul li {
      min-height: 210px;
    }
    
    .sya_container li .sya_postcontent {
      position: absolute;
      text-align: center;
      width: 570px;
      margin-top: 170px;
    }

    This works as long as your thumbnail images have a height of 150px (as it is now). If you change the thumbnail size, you’d have to adapt the CSS.

    Thread Starter janew

    (@janew)

    That works!
    I tried using position: absolute, but I guess I applied it to the wrong class or used it incorrectly somehow – I forget exactly what I did.
    But this works, so I thank you very much! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘switch postimg and postcontent’ is closed to new replies.