• Hi, I think this might be my first post here but let me ask a question.

    https://www.scottveirs.com – on the top right, where you see the CrossLoop addition, I can not for the life of my get that to align.

    I added a text box for each of the other 2 items below and they are aligned. Is this alignment issue with the Crossloop “widget” or with the code/css?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sorry, can you clarify which alignment?

    Thread Starter sdveirs

    (@sdveirs)

    I want it to align center (horizontally).
    Looking on the page, you can see the crossloop (iframe pointing to my account with them) loads but does not align in the white box. I want the whole element to align to the middle.

    Hope that helps.
    Scott

    The CSS code for that element is inline CSS in the iframe and there is no easy way to target it outside of that – if you can access the iframe code, change the margin to margin: 0 auto; which will center it.

    Thread Starter sdveirs

    (@sdveirs)

    I can not modify the code for the element itself.
    What about the sidebar/text box the <iframe> item is in? Can that text box take code to say “force the iframe to center”?

    Thanks

    You could try putting padding on the left side of it – try using this:

    #text-10 .textwidget {
       padding-left: 20px;
    }

    Not tested and you’ll need to adjust the size…

    Just tested it in Firebug – seems to work – 25 would be better for spacing.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sidebar>Textbox> iFrame – content alignment’ is closed to new replies.