• Hello,

    i’m making a website for someone and i wish to make a landingpage with a specific picture gallery.
    I linked the “design” here below. I’m wondering if my english is bad or i’m just looking for the wrong thing but i want to recreate this in wordpress.
    Can i do this without plugins or do i need something specific to make this?

    wordpress picture box

    thanks for assisting!

    (ps: i can make this myself in flexbox/grid/css, but finding it in wordpress is still rather new.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If you need something that specific, it may need to be custom coded. It sounds like you have at least CSS coding skills, how are you with PHP? ?? You don’t need much in PHP skills, I’m confident you can muddle through if you can manage CSS.

    You will want to create a page based on a custom template. Custom templates are best kept in a child theme, otherwise they’ll disappear during updates.

    Start with a copy of the theme’s page.php or index.php template placed in your child theme. Rename the file according to template hierarchy.

    You’ll need to decide what to keep in the file and what to get rid of. You’ll likely want at least the theme header and footer, but if not, at least include the following with all the usual HTML we see on any webpage:
    <?php wp_head(); ?>

    Within whichever outer div containers you’re keeping, add your preferred HTML content. You may also include a <script> block which contains all the necessary additional CSS you need.

    These instructions are for “classic” .php based templates. Newer block themes use .html templates. The overall concept is similar, but the specifics are different. You’ll need to review the block themes section of the Theme Handbook to learn the differences.

Viewing 1 replies (of 1 total)
  • The topic ‘picture gallery with variable sizes’ is closed to new replies.