Home Forums Weaver Xtreme Theme change image border width per page

This topic contains 2 replies, has 2 voices, and was last updated by  duizendpoot 2 months, 1 week ago.

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

    duizendpoot
    Participant

    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!

    #60056

    scrambler
    Moderator

    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

     

     

    #60058

    duizendpoot
    Participant

    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.