[Resolved] append pull-right to the_post_thumbnail

Home Forums Support [Resolved] append pull-right to the_post_thumbnail

Home Forums Support append pull-right to the_post_thumbnail

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #205638
    Jürgen

    Hello,

    I was able to locate the code for .pull-right adjustment of the_post_thumbnail holding div
    in the file inc/template-tags.php as I don’t want to break the float, but actually I don’t find where to apply it for posts and pages too. http://edition.lightserver.at/?p=1
    Can you give me a hint how the class is applied, please?

    kind regards

    #205651
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Are you trying to float the image to the right?

    If so, try this CSS:

    .page-header-image-single {
        float: right;
        margin-left: 2em;
    }
    #205654
    Jürgen

    yes, is it possible to apply pull-right from bootstrap css like here:

    #205657
    Jürgen

    okay, thanks it worked!

    #205661
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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