[Resolved] inserting a block of text after 2 posts while using 2 column format of blog

Home Forums Support [Resolved] inserting a block of text after 2 posts while using 2 column format of blog

Home Forums Support inserting a block of text after 2 posts while using 2 column format of blog

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #928790
    Anil

    Hi

    Please tell correct way of inserting a block of text after 2 posts while using 2 column format of blog on homepage.

    I used a div with paging-navigation class and it is working on the said site….

    Do you think it is correct or we have some better way to do it….

    #928793
    Leo
    Staff
    Customer Support

    Hi there,

    Wow I’ve actually never seen this done before.

    Where are you adding this?

    #928807
    Anil

    Thanks Leo

    I just want to check whether class paging-navigation is correct ….

    Did you like the total appearance of home page?

    #928822
    Leo
    Staff
    Customer Support

    How are you actually adding that in? I’m very curious haha

    I would say using paging-navigation is not very conventional but as long as it works for you it should be ok.

    #928828
    Anil

    I would say using paging-navigation is not very conventional

    I feel Tom can guide about it……………

    #928829
    Leo
    Staff
    Customer Support

    Can you first let me know how you are adding the <div> between the posts blocks?

    #928830
    Anil

    Plugin

    #928833
    Leo
    Staff
    Customer Support

    I see. Why did you have to add paging-navigation?

    #928972
    Anil

    Tom/David

    Can you please guide which css class to use for a div that is to be placed after 2 posts and that to span full width of content-bar… I used paging-navigation class that worked on my example site, but I want that to be correct….

    #928983
    Leo
    Staff
    Customer Support

    Hi Anil,

    There isn’t exactly a correct answer to this question as that <div> doesn’t actually exist between the posts in the theme.

    Using paging-navigation just means all the style associated with that class will load for that <div>, and if that works for you then it is correct and feel free to use it.

    You can also give that <div> a class anil and add this CSS to create the same thing:

    .anil {
        flex: 1 1 100%;
        padding: 20px;
        background-color: #fff;
        margin-left: 10px;
    }

    Let me know if this makes sense ๐Ÿ™‚

    #928985
    Anil

    Thanks Leo, this resolved. Bye.

    #928986
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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