Tagged: x
-
AuthorPosts
-
February 20, 2017 at 4:34 pm #1378858
Spaulding.danielParticipantI have managed to get a background image to work on the main menu and level 1 of the superfly menu. I am using this selector ( #sfm-sidebar ul.sfm-menu-level-2 ) to target level 2 of the menu, but when I try to add a background image with CSS, it’s not working. Do you know if this is possible or if I am using the correct selector?
February 20, 2017 at 10:34 pm #1379219
Prasant RaiModeratorHello There,
Thanks for writing in!
Could you please provide us with your website URL so we can take a closer look?
Thanks.
February 20, 2017 at 10:39 pm #1379224
Spaulding.danielParticipantThis reply has been marked as private.February 21, 2017 at 2:01 am #1379409
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
.sfm-view.sfm-view-level-custom.sfm-modal { background-image: url(http://www.estrangedgraphix.me/wp-content/uploads/2017/02/fixed_02.png) !important; background-repeat: repeat; background-position: center center !important; background-size: contain !important; }Hope that helps.
February 21, 2017 at 10:13 am #1380007
Spaulding.danielParticipantThat didn’t seem to work. I’ll add a screen shot of the area I want to add a background image to.
February 21, 2017 at 10:24 am #1380018
Spaulding.danielParticipantI’m sorry, I uploaded the wrong screen shot. This one shows an arrow of the section I am talking about.
February 21, 2017 at 2:47 pm #1380341
Nabeel AModeratorHi again,
Please replace the previous code with the following code:
.superfly-on #sfm-sidebar .sfm-view-level-custom { background-image: url(http://www.estrangedgraphix.me/wp-content/uploads/2017/02/fixed_02.png) !important; background-repeat: repeat; background-position: center center !important; background-size: contain !important; }Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
February 21, 2017 at 3:09 pm #1380362
Spaulding.danielParticipantActually, I have a little hiccup. The image is showing up in places that I don’t want it to show up. How do I get rid of of the bg image on this section?
February 21, 2017 at 11:32 pm #1380878
ChristopherModeratorHi there,
Please remove this code:
.superfly-on #sfm-sidebar .sfm-view-level-custom { background-image: url(http://www.estrangedgraphix.me/wp-content/uploads/2017/02/fixed_03.png) !important; background-repeat: no-repeat; background-size: 275px 572px !important; background-position: 27% 123% !important; }And add this code:
.sfm-scroll-wrapper > div { background-image: url(http://www.estrangedgraphix.me/wp-content/uploads/2017/02/fixed_03.png) !important; background-repeat: no-repeat; background-size: 275px 572px !important; background-position: 27% 123% !important; }Hope it helps.
February 22, 2017 at 10:52 am #1381606
Spaulding.danielParticipantThat just removed the background image from both sections. I cleared my cache to see if that was that problem, but no luck. I can’t seem to find the selector that targets level 2 of their menu.
.superfly-on #sfm-sidebar .sfm-view-level-custom {
background-image: url(http://www.estrangedgraphix.me/wp-content/uploads/2017/02/fixed_03.png) !important;
background-repeat: no-repeat;
background-size: 275px 572px !important;
background-position: 27% 123% !important;
}This code is close to what I want, but it just adds a background image to sections I don’t want.
February 22, 2017 at 3:33 pm #1381887
Nabeel AModeratorHi again,
Keep your previous code:
.superfly-on #sfm-sidebar .sfm-view-level-custom { background-image: url(http://www.estrangedgraphix.me/wp-content/uploads/2017/02/fixed_03.png) !important; background-repeat: no-repeat; background-size: 275px 572px !important; background-position: 27% 123% !important; }And add the following code as well:
#sfm-cc-20 { background: rgb(216, 80, 66) !important; height: 100% !important; }Let us know how this goes!
February 22, 2017 at 4:17 pm #1381909
Spaulding.danielParticipantPerfect! This works great, thank you!
February 22, 2017 at 10:57 pm #1382382
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1378858 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
