Portfolio Images in One Line

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #415221
    Hadas
    Guest

    Hey,
    First I really like Emmet! It’s easy and beautiful. Thank you 🙂

    My question is related to the portfolio section:
    We have 6 images to display, and even though I tried this the pictures are not on one line (screenshot).
    I also want them to be in the middle of the section, not on the left.

    This is what I did so far on the child theme css:

    .portfolio-list .portfolio-box {
        width: 10%;
    }

    also insert the function in the guide above to my child theme functions.php file.

    My site is on a local host so I can’t give you a link to it… /:

    How can I change it?

    Thanks,
    Hadas

    #415809
    Hadas
    Guest

    Solved it!

    .portfolio-list .portfolio-box {
        width: 10%;
        float: none;
        display: inline-block;
        padding: 15px 20px;
    }
    #415813
    Hadas
    Guest

    Now, is there a way to set the links to open in a new window?

    #416299
    J. Davis
    Keymaster

    Hi Hadas,

    Thank you for solving your request by yourself. I’m not quite sure I understand you last question correctly. What exactly links do you mean, portfolio items?

    Best regards,
    John

    #416879
    Hadas
    Guest

    Hey John,
    Yes I wish that when clicking on the portfolio image on the homepage the link will open up in a new window.
    How can I do it?

    Thanks,
    Hadas

    #419048
    J. Davis
    Keymaster

    Hi Hadas,

    It is not possible as this section outputs posts (portfolio). It means that you need to edit link of portfolio posts. You can do that using redirect plugin. You can search for free redirection plugin at wordpress.org.

    Best regards,
    John

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