• Resolved faun

    (@faun)


    Hi there,

    My current blog posts via network-posts-extended plugin is looking like this:
    Screenshot 1

    It should look like this:
    Screenshot 2

    Could you provide me some guidance how to style this? I can provide you access if needed as well.

    Happy to compensate you via donation for your time.

    For reference, my current shortcode:

    [netsposts thumbnail='true' order_post_by='date_order desc' taxonomy_type='category' taxonomy='blog']

    • This topic was modified 4 years, 9 months ago by faun.
Viewing 14 replies - 16 through 29 (of 29 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    Thanks for the donation. Did you try the above?

    Plugin Author johnzenausa

    (@johnzenausa)

    Okay my mistake. I forgot one little thing that’s why they’re not lining up correctly. I forgot to add display: grid; to netsposts-content area. Replace what I gave you on the first page with the following (just replace the liked ones – the different ones remain the same):

    .netsposts-block-wrapper {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(auto-fill,minmax(300px,392px));
        gap: 1em;
    }
    
    .netsposts-content {
    	display: grid;
    	grid-template-rows: auto;
    	grid-template-columns: 1fr;
    	grid-template-areas: "img-link" "posttitle" "postdate" "postexcerpt";
    }
    
    .link-img-wrapper {
    	grid-area: img-link;
    }
    
    .netsposts-posttitle {
    	grid-area: posttitle;
    }
    
    .netsposts-source {
    	grid-area: postdate;
    }
    
    .netsposts-excerpt {
    	grid-area: postexcerpt;
    }
    
    .netsposts-read-more-link {
    	display: block;
            margin-top: 5px;
    }

    Note: Notice how the only difference is I added display: grid; to .netsposts-content

    I would change the CSS for you but I don’t know where you have it stored.

    • This reply was modified 4 years, 9 months ago by johnzenausa. Reason: Don't know where Custom CSS is
    Plugin Author johnzenausa

    (@johnzenausa)

    Okay now we’ll talk about the date. If you only want the date to show without the link to the site you may add the following to your custom css also.

    .netsposts-source > span:not(:nth-of-type(2)) { display: none; }

    Thread Starter faun

    (@faun)

    You are truly a wizard. All is exactly as I wanted. Keep up the good work!

    • This reply was modified 4 years, 9 months ago by faun.
    Thread Starter faun

    (@faun)

    Hi johnzenausa,

    Suddenly the posts from my main site stopped showing up.

    I currently have a multisite with a main site and a subbsite.

    Main site blog: https://everest-advocaten.be/blog/
    Subsite blog: https://vastgoed.everest-advocaten.be/category/blog/

    On the homepage, it should display the latest 3 posts with category ‘blog’. I noticed only the blog posts from the subsite are displayed whilst the posts on the main site also have correct category ‘blog’.

    Password to access both sites is bluecanary

    My shortcode:

    
    [netsposts thumbnail='true' order_post_by='date_order desc' list='3' taxonomy_type='category' taxonomy='blog' size='thumnail-size' read_more_text='Lees meer' date_format='j F, Y' excerpt_length='150']
    
    Plugin Author johnzenausa

    (@johnzenausa)

    Please fill out the following form as you did before. https://support.agaveplugins.com/contact so people don’t see the password.The above password doesn’t get me inside the admin and I tried the one you sent me before and it says link doesn’t exist (404 error). So please grant me temporary superadmin access again using the link above.

    Thread Starter faun

    (@faun)

    The above password is to access the website, not the admin panel ??

    I did sent you admin access via your contact form.

    Plugin Author johnzenausa

    (@johnzenausa)

    Okay because when I checked the html code I didn’t see any of my plugin html code.

    Plugin Author johnzenausa

    (@johnzenausa)

    I can’t find the page the code is on. Could you please send me a link.

    Thread Starter faun

    (@faun)

    Hi,

    It should be on the frontpage:

    On the screenshot below you’ll see that two posts are loaded (but from the subsite only):

    https://monosnap.com/file/ZlCn85VlPntBU3qeJinxYKRRnaNVx7

    Relevant shortcode in page editor:

    https://monosnap.com/file/eovFwVPpQOt5ZNFUtXbyHvOlpteN2A

    Thread Starter faun

    (@faun)

    The page is here: https://everest-advocaten.be/

    (the password to view the page is bluecanary (this is not the admin password, it’s just a password protected page).

    Highlighted html:

    https://monosnap.com/file/gAQztXV2hKngEjzDXbkf4MzTB1GzOY

    Thread Starter faun

    (@faun)

    Hi johnzenausa,

    Where you able to figure out the issue?

    Thread Starter faun

    (@faun)

    Plugin Author johnzenausa

    (@johnzenausa)

    The issue was not all his subdomains were listed as public. The plugin will not work with private sites. Anything protected the plugin will not display.

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘Style in horizontal blocks’ is closed to new replies.