Home Forums Weaver Xtreme Theme change image border width per page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #60054

    Hi, how can I change the image border width per page? In general I use 3px, which I put in the admin Main Options/Content Areas…but at some pages I want to use less px. What code should I put in the ‘Weaver Xtreme Plus Per Page Options’ field? it is about the images in the #container.

    thanks in advance!


    If you inspect an image with your browser developer tool, you will see the border is done with the padding rule below

    .container img, .colophon img {padding:3px;}

    If you have plus you can just put that rule in the per page CSS box with a different value

    If you do not have Plus, to change that on a page by page basis, simply add the page class selector on each of the two selectors

    .page-id-xxx .container img, .page-id-xxx .colophon img {padding:3px;}

    replacing xxx by the page ID# found in the page editor




    superbe! works like a charm, thank you!

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