Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Uplift › How to… fix a box?
New Landing › How can we help? › Themeforest Theme Support › Uplift › How to… fix a box?
- This topic has 30 replies, 4 voices, and was last updated 8 years by Rui Guerreiro – SUPPORT.
-
Posted in: Uplift
-
July 15, 2016 at 1:53 pm #281530
Hi guys,
what is your recommendation, how to create a fixed (but somehow responsive box) like the attached?
See it here, towards the bottom: sample linkI have created a row with a photo background, it has been setup as full width.
So I have the base, but which option would be the best to create that box? I was thinking having a Icon box, but how the hell can I align it towards the right (not to the edge)?Any other idea would be appreciated.
Thank you!Attachments:
You must be logged in to view attached files.July 15, 2016 at 4:44 pm #281647Hi
Set the row to standard width, add the image as the background
– Kyle
July 18, 2016 at 10:04 am #281906Hi Kyle,
I think you misunderstood me…Please check this link: http://shop.lululemon.com/p/women-crops/All-The-Right-Places-Crop-II/_/prod1550052?color=LW6HESS_023188&dtmPromoClick=design:fabrics-technology:luxtreme;womens-luxtreme-products;prod1550052
…and scroll down to the area where this part is: http://www.swiftideas.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-15-at-10.48.13-PM.jpgThere is a image background (that is solved, I used a row with background image).
But as you can see on the image as well as on the link, there is a white box with text (starting with ‘DESIGNED FOR…’)Any recommendation how can I create a similar text box that STAYS on the right side of the content area? (while the row is set to full width)… Pretty much same as the image above.
Thanks!
July 18, 2016 at 10:09 am #281908You could use the boxed content asset, however to get the similar list style you may need some custom css. As for achieving a white box, the boxed content asset will work just fine.
What I was saying in my previous post is in relation to this: ‘text box that STAYS on the right side of the content area? (while the row is set to full width)’ why do you have the row set to full width if you don’t want the content to be edge to edge? Set it to standard width
– Kyle
July 18, 2016 at 10:24 am #281921Hi Kyle,
I would like the background photo from edge to edge, that’s why I setup the row full width.
Can I set the row to standard width and have the image full width?July 18, 2016 at 10:29 am #281924Yes the background is always full width, the width setting is for the content within the row
– Kyle
July 18, 2016 at 10:53 am #281935This reply has been marked as private.July 18, 2016 at 11:14 am #2819451) The box is on the left?
2) Add this to your custom css:
.spb_parallax_asset .spb_box_content .box-content-wrap::after { border-bottom: 10px solid transparent; border-left: 10px solid #fff; border-top: 10px solid transparent; content: ""; height: 0; position: absolute; right: -10px; top: 30px; width: 0; }
– Kyle
July 18, 2016 at 11:35 am #281950Hi Kyle,
1) omg, I meant right sorry ๐
2) is perfect, can I put it on the left please?
July 18, 2016 at 11:51 am #281958You sure you want it on the right? The leggings are on the right, so you’d be covering them up?
– Kyle
July 18, 2016 at 11:55 am #281962Hi Kyle,
yes to the right please, that is just a test pic right now… ๐July 18, 2016 at 12:06 pm #281969Ok, on the box content asset add this to the extra class field: col-sm-offset-9
Change the css to:
.spb_parallax_asset .spb_box_content .box-content-wrap::after { border-bottom: 10px solid transparent; border-right: 10px solid #fff; border-top: 10px solid transparent; content: ""; height: 0; position: absolute; left: -10px; top: 30px; width: 0; }
– Kyle
July 18, 2016 at 12:20 pm #281982Simply awesome!
Kyle, thanks so much!July 18, 2016 at 12:43 pm #281988No problem!
August 8, 2016 at 11:16 am #286259This reply has been marked as private. -
Posted in: Uplift
You must be logged in to reply to this topic.