Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter goodonpaper

    (@goodonpaper)

    ie. something like this:
    https://troidus.com/article/

    Are you familiar with PHP? If yes, you can try modifying The Loop in index.php into something roughly like this:

    <?php $first = 1; ?>
    <?php while (have_posts()) : the_post(); ?>
    
      <?php if($first==1) { ?>
       ...html code for first post here
    
      <?php } else { ?>
      ...html code for the other posts
    
      <?php } ?>
      <?php $first++; ?>
    
    <?php endwhile; ?>

    I hope this helps.

    Thread Starter goodonpaper

    (@goodonpaper)

    Got it – thanks! Everythings in separate divs and sitting quite nicely. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Styling the index’ is closed to new replies.