Tagged: x
-
AuthorPosts
-
August 13, 2016 at 9:37 pm #1130373
mahmoud237ParticipantHi
How can I make custom background shape just like the attached photo ?
August 13, 2016 at 9:45 pm #1130380
mahmoud237ParticipantThis reply has been marked as private.August 14, 2016 at 1:50 am #1130509
ChristopherModeratorHey there,
Thanks for writing in! Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!
August 14, 2016 at 2:21 am #1130532
mahmoud237ParticipantI understand that … I have a designer works with me … what I should request from him exactly to make this effect ?
August 14, 2016 at 3:46 am #1130588
Nabeel AModeratorHi again,
You can show the above screenshot you attached to your designer.
Cheers!
August 14, 2016 at 11:49 am #1130884
mahmoud237ParticipantOk I managed to do it using this code:
.triangle { position: relative; } .triangle::before, .traingle::after { position: absolute; content: ''; pointer-events: none; box-sizing: border-box; top:0; border-style: solid; border-width: 50px 300px 0 300px; border-color: #41CAFC transparent transparent transparent; }The only thing I can’t do is that I want it to be horizontally centered … I can use:
left: 22%But that code isn’t effective because it will change it’s position if the screen width change … I want to be centered on all devices
Thanks
August 14, 2016 at 11:59 am #1130890
mahmoud237Participantcheck the image
August 14, 2016 at 12:09 pm #1130899
ThaiModeratorHi There,
Please add this CSS:
left: 50%; margin-left: -300px;http://i.imgur.com/UkbDeuv.png
Hope it helps 🙂
August 14, 2016 at 12:57 pm #1130918
mahmoud237ParticipantThanks, it works 🙂
August 14, 2016 at 1:03 pm #1130921
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1130373 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
