Home › Forums › WoodMart support forum › Can we create this in Woodmart?
Can we create this in Woodmart?
- This topic has 19 replies, 2 voices, and was last updated 6 years, 10 months ago by Artem Temos.
-
AuthorPosts
-
February 5, 2018 at 12:00 pm #37491
MoeMauphieParticipantHi there,
Could you please check this website and let me know if it’s possible to create a similar effect (the section that has this text: “play with firepower”) in woodmart using the visual composer panel?
Many thanks
February 5, 2018 at 12:25 pm #37503
Artem TemosKeymasterHi,
Sure, you can simply create a full-width row and set a background attachment option to be
fixed
with WPBakery page builder.Regards
February 6, 2018 at 6:06 am #37702
MoeMauphieParticipantThanks a lot,
I didn’t get to find any “background-attachment” option in WPBakery page builder, I had to set it via css file. Are you sure there’s such option?
Regards,
February 6, 2018 at 7:34 am #37728
Artem TemosKeymasterSorry for that, you are right, WPBakery doesn’t have this option. But its okay if you did it with a simple CSS code.
February 6, 2018 at 2:41 pm #37816
MoeMauphieParticipantIt can be done via css editing, but the problem is when you set a background for a row thru WPBakery, it adds “important” to the background property and because of that, setting “background-attachement” to fixed doesn’t work. Now the only way to get it worked is to set everything including the background image in the css file.
Thanks
February 6, 2018 at 2:59 pm #37822
Artem TemosKeymasterBut you can set !important for the background attachment as well. Or if it will not work, so yes, you will need to set the full background property there.
February 6, 2018 at 3:23 pm #37834
MoeMauphieParticipantI had already done that but it didn’t work. So I have to do it manually for every single product? hmmm…
I hope you consider adding this feature in your future updates.
Regards
February 6, 2018 at 3:33 pm #37838
Artem TemosKeymasterCould you please send us an example of product with such row on your website?
February 6, 2018 at 4:10 pm #37844
MoeMauphieParticipantSure, here you are: https://goo.gl/WdcrL2
February 6, 2018 at 4:11 pm #37845
Artem TemosKeymasterBut why do you need to add it manually for each product? The code is added to the CSS file and will be applied to all products.
February 6, 2018 at 5:47 pm #37860
MoeMauphieParticipantEvery product has its own background photo and since I can’t add the background via Bakery panel, I need to do it via css.
February 6, 2018 at 6:23 pm #37874
Artem TemosKeymasterOK, could you please now set a few products with their background color and add an extra class for them for example –
background-fixed
. Provide us links to both products and we will prepare a general solution for you.February 7, 2018 at 10:22 am #37974
MoeMauphieParticipantHi there,
Here they are as you asked:
https://goo.gl/qgrQng
https://goo.gl/D4qxmTI used the class “moefixedbg” for them.
Regards
February 7, 2018 at 12:25 pm #38004
Artem TemosKeymasterTry to use this code snippet
.moefixedbg { background-attachment: fixed!important; }
February 7, 2018 at 12:29 pm #38007
MoeMauphieParticipantIf you check my code, you’ll see that I’ve added that already. But the problem is that the background image propery (set by Bakery panel) has “important” itself and therefore the default background attachment (scroll) can’t be overridden.
February 7, 2018 at 12:31 pm #38009
Artem TemosKeymasterBut we tested this code and it worked perfectly for us. Could you please try to add it to the custom CSS section?
February 7, 2018 at 1:15 pm #38047
MoeMauphieParticipantI added it to the custom css section too and it still doesn’t work.
February 7, 2018 at 1:36 pm #38072
Artem TemosKeymasterOK, try to replace with this one
body .moefixedbg { background-attachment: fixed!important; }
February 7, 2018 at 2:26 pm #38105
MoeMauphieParticipantBingo! Problem solved!
Thanks a lot for your help, I learned a new thing today.
February 7, 2018 at 2:37 pm #38116
Artem TemosKeymasterGreat, you are welcome 🙂
-
AuthorPosts
- You must be logged in to create new topics. Login / Register