• Resolved cvf

    (@cvf)


    Installed Sharebar plugin, and it works great with Weaver theme. Problem is, I can position it correctly on pages with a left sidebar, but then it moves off the page on pages without a sidebar. Is there a way to change the reference point for the left offset or another solution to fix this?

    Correctly displayed
    Incorrectly displayed

Viewing 2 replies - 1 through 2 (of 2 total)
  • because the theeme uses body_class() each template has a unique css class;

    page without a sidebar:
    .page-template-onecolumn-page-php

    page with a left sidebar:
    .page-template-page-altleft-php

    add this to the custom styles:

    .page-template-page-altleft-php #sharebar {margin-left: -365px!important;}
    .page-template-onecolumn-page-php #sharebar {margin-left: -165px!important;}
    Thread Starter cvf

    (@cvf)

    Thanks so much. That worked perfectly and helped me figure out how to fix an unrelated issue on another site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sharebar – widget moves bar off page’ is closed to new replies.