Support » Theme: Sapor » Sapor theme align-right margins should reflect align-left margins

  • Resolved InSightGraphicDesign

    (@insightgraphicdesign)



    I’ve run into a tiny issue with Sapor css you may want to correct in a future update. Until then, users can correct it in a child theme’s css.

    To float an image left or right, a class is added to the image — alignleft or alignright.

    In style.css, .alignleft & .alignright both have the same margins.
    margin: 5px 20px 5px 0;

    This is fine for .alignleft (floats left), but .alignright floats right so its right & left margins should be switched so it can float all the way to the right and have its 20px margin on its left:
    margin: 5px 0 5px 20px;

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Automattic Happiness Engineer

    Thanks for the heads-up, I’ll let our developers know and we’ll keep you posted here. Good catch!

    Moderator Kathryn Presner

    (@zoonini)

    Automattic Happiness Engineer

    This issue will be fixed in the next version of Sapor, which we’ve submitted to WordPress.org and should go live within a week. Thanks again for the report.

    Moderator Kathryn Presner

    (@zoonini)

    Automattic Happiness Engineer

    Thanks for catching (in your other thread) that this fix didn’t get included in Sapor 1.0.5 after all. I see a record of the change having been made on the file, but somehow it didn’t get applied. I’ve asked our developers to look into this so we can get it fixed up once and for all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sapor theme align-right margins should reflect align-left margins’ is closed to new replies.