Home › Forums › Weaver Xtreme Theme › Undefined variable
- This topic has 9 replies, 3 voices, and was last updated 3 months, 2 weeks ago by
LorSmi.
-
AuthorPosts
-
May 31, 2023 at 19:29 UTC - Views: 45 #72940
LorSmi
ParticipantI have made NO changes to this website in a long time. All of a sudden I see this on every page “Undefined variable…..” You can see it better from the link
Most probably this is due to some old stuff that never got updated with the updates over the years but I have no clue where to start! In the php file, the two lines are;
$data[‘src_width’] = $src_width;
$data[‘src_height’] = $src_height;Most of my pages are full screen, if that helps
May 31, 2023 at 20:41 UTC - Views: 44 #72941scrambler
ModeratorBased on the error message, they appear co come from a plugin named “background per page”
So deactivate that plugin and check if it is still supported and has updates
June 5, 2023 at 12:59 UTC - Views: 36 #73001LorSmi
ParticipantOkay, I did deactivate that plugin and the pages are clear again. However, I need to know how to overwrite the global background chosen in Weaver Xtreme for certain pages. I can’t find how to do that!
Thanks
June 5, 2023 at 16:24 UTC - Views: 33 #73003User
ParticipantSee: Customize > Content Area > Content Area Colors
See also: https://forum.weavertheme.com/forums/topic/add-content-background-to-certain-pages-only/
Regards!
June 5, 2023 at 16:27 UTC - Views: 32 #73004scrambler
ModeratorPer page background change is explained in the article below
Styling specific pages or devices (like BG Image) – Weaver Xtreme Guide (weavertheme.com)
June 13, 2023 at 17:51 UTC - Views: 22 #73078LorSmi
ParticipantOkay, I just added plus today. Now I need help with this;
Important notes: – The page ID class is located on the
<
body> tag of the page, so if you are trying to change the overall background image which is set on the body tag, you will need to attach the page id selector and the body selector. The rule would look likeWhere do I find the <body> tag of the page?
Sorry, but its been so long, I’ve forgotten a lot about this stuff
June 13, 2023 at 19:17 UTC - Views: 18 #73079scrambler
ModeratorYou can actually find the page ID number in the page editing page
June 13, 2023 at 19:24 UTC - Views: 16 #73080LorSmi
ParticipantThat’s where I was. I don’t see it. Can you be more specific?
June 13, 2023 at 20:24 UTC - Views: 13 #73082scrambler
ModeratorIn the page editing page, at the top right of the section “Weaver Xtreme 4 Options for this page”
( This Page’s ID: xxxx )
June 13, 2023 at 20:26 UTC - Views: 11 #73083LorSmi
ParticipantNOW I see it! Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.