[Resolved] how to style so one title is right aligned

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support how to style so one title is right aligned

This topic contains 5 replies, has 2 voices, and was last updated by  Tom 4 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11413

    sparkle
    Participant

    hi, i’m using wp show posts pro as a previous/next product navigation for products in a certain category. now that i’ve got it working, the way i’d hoped, i’d like to style it so the title of the second item in the list is styled/aligned differently than the first. there are only two and they are on the same row.

    View post on imgur.com

    how do i get the post title under the word NEXT?

    #11439

    Tom
    Keymaster

    Hi there,

    Can you link me to this page so I can take a look at the CSS?

    Let me know πŸ™‚

    #11458

    sparkle
    Participant

    https://amoore.dreamhosters.com/product/fellow-antics/

    it’s the links on the bottom right.

    thanks tom.

    #11499

    Tom
    Keymaster

    First, I would remove this CSS:

    #portnext a:nth-of-type(odd) {
        float: right!important;
    }

    Then I would add this:

    #wpsp-432 article {
        text-align: right;
    }
    
    #wpsp-432 article:first-child {
        text-align: left;
    }
    #11532

    sparkle
    Participant

    thank you. you can tell i was trying to figure it out.

    this works. you’re awesome.

    πŸ™‚

    #11589

    Tom
    Keymaster

    Glad I could help πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.