CSS coding

  • Unknown's avatar

    I was wondering if there is a way to center the paragraph and photos on this page. I also would like to not have the top photo show once the user clicks on the icon on this page:

    Is it also possible to make the grid 3 across instead of 2?

    The blog I need help with is: (visible only to logged in users)

  • Hi there!

    I was wondering if there is a way to center the paragraph and photos on this page

    If you want to target this specific page, you’ll want to use it’s ID to target it with a style to eliminate the left padding:

    .postid-53 .entry-body {
        padding-left: 0px;
    }

    If you need to do something similar on other pages, you can grab thier IDs as well:

    Create a Page

    I also would like to not have the top photo show once the user clicks on the icon

    If you want the Featured Image to not appear on single posts at all, you can use My Site > Customize > Content Options, and uncheck the Display on single posts box under Featured Images.

    If you want to hide just this featured image, you can use that ID trick again :)

    .postid-53 .post-thumbnail {
    	display: none;
    }

    Is it also possible to make the grid 3 across instead of 2?

    Yep! You can set the number of columns (up to six) right in your Portfolio Shortcode:

    [portfolio include_tag=logo display_content=false columns=3]

  • Unknown's avatar

    Hi Chad,

    Thank you so much! I edited my CSS with the first two codes and they worked perfectly!
    I am very confused about where to put this portfolio shortcode. I am not seeing a place to put that code.

    You are making this so easy, I know nothing about coding.

    Best, Zoë

  • Hi Zoë!

    The Portfolio Shortcode I sent is actually an updated version of the shortcode you’re already using.

    Visit your Logos page: https://zoeinkcom.wordpress.com/logos/

    Scroll to the bottom and click the Edit link, and update the Portfolio Shortcode there :)

  • Unknown's avatar

    Hi Chad, You are brilliant! Can’t thank you enough. I have lots more to do so I am sure I will be posting to this forum later. But for now, you have made my day!

  • The topic ‘CSS coding’ is closed to new replies.