Home › Forums › Weaver Xtreme Theme › Custom CSS rules – Which selectors for the menu-area?
- This topic has 13 replies, 3 voices, and was last updated 11 years, 1 month ago by
micha1451.
-
AuthorPosts
-
July 30, 2015 at 15:57 UTC - Views: 5 #18087
micha1451
ParticipantHi,
thank you for yesterday help!By insert following code in the css custom rules I got nearly the effect I wanted.
body.page-id-305 {background-color: #e2e9e7}
.page-id-305 #wrapper {background-color: #e2e9e7}
.page-id-305 #main {background-color: #e2e9e7}
.page-id-305 #content {background-color: #e2e9e7}Only one issue is missing: How can I take effect to the menu-bar?
I didn’t found any selectors/classes for this area.
Thanks and regards
MichaelJuly 30, 2015 at 16:53 UTC - Views: 2 #23664scrambler
Moderatorif you meant how to change the menu bar color of that page, add the rule
.page-id-305 .menu-primary .wvrx-menu-container {background-color:red;}
July 30, 2015 at 16:57 UTC - Views: 2 #23665scrambler
Moderatorby the way, given you have plus, you can also use the Per page Style box found in the page editing page for simpler rules.
In you case these are the rules you would put in the Per page style box
+body.page-id-305 {background-color: #e2e9e7}
#wrapper {background-color: #e2e9e7}
#main {background-color: #e2e9e7}
#content {background-color: #e2e9e7}
.menu-primary .wvrx-menu-container {background-color:red;}basically you can do away with the page id class as the theme will add it automatically.
With the exception of the first rule. Because the class and the body tag are at the same level, there must be no space between the two selectors, but the automatic selector addition from the theme is not smart enough to know that. By adding plus in front of the rule you disable the automatic page ID class addition, and you can put the full rule with the proper selector syntax
July 30, 2015 at 18:32 UTC - Views: 3 #23666micha1451
Participant@ scrambler,
thank you!
That’s exactly the point I was looking for πI use the plus version. Although I can not acitvate the license in the admin area, in my shop-account all is shown as ok.
May be, because I switched from Weaver II pro to extreme… And tBest regards
MichaelJuly 30, 2015 at 19:02 UTC - Views: 2 #23667scrambler
ModeratorThe plugin still works so you can use the per page style box if you like, but the plugin wont update if not activated.
If you have a problem activating it, send a personal message to weaver on the page below with all your account information and a detailed explanation of what is going on.
July 31, 2015 at 09:19 UTC - Views: 3 #23668micha1451
ParticipantHi scrambler,
thank you for your help!
I did in the last few days some steps forward using weaver xtreme.
Possibly following chart for a few user is helpful. For me it was πhttp://www.mgaleris.de/wp-content/uploads/2015/07/weaever-custom-css-rules2.jpg
July 31, 2015 at 12:32 UTC - Views: 2 #23669Maureen
Participant@micha1451 Tx. Good chart.
July 31, 2015 at 15:37 UTC - Views: 2 #23670micha1451
ParticipantHi Maureen,
thank you!
The best way to learn are images π
July 31, 2015 at 17:32 UTC - Views: 2 #23671scrambler
ModeratorThanks for the chart, I have added it at the end of the Tutorial below π
http://forum.weavertheme.com/discussion/2648/changing-the-background-image-for-a-specific-page
July 31, 2015 at 19:55 UTC - Views: 2 #23672micha1451
ParticipantDonβt mention it!
Let me know, when you need the pdf-file.
I will delete the page with the chart, it was only temporary…July 31, 2015 at 21:50 UTC - Views: 3 #23673scrambler
ModeratorI have copied your image on my public server
So no need to host it yourslef
August 1, 2015 at 05:52 UTC - Views: 2 #23674micha1451
ParticipantThe pdf is much better than the picture.
If you tell me a mail address, I could send it
August 1, 2015 at 16:08 UTC - Views: 2 #23675scrambler
ModeratorUnless the pdf has other information that the ones in the pictures. The pictures can be seen in the thread which is more visual.
You can upload the pdf in your WP media library and give me the URL so I can pick it up
August 1, 2015 at 17:24 UTC - Views: 2 #23676 -
AuthorPosts
- You must be logged in to reply to this topic.

