Tagged: x
-
AuthorPosts
-
July 12, 2016 at 11:26 am #1083341
JuliusParticipantHi Themeco
I’m looking to create an effect like this, but with the navbar in the right side.
I tried illustrating it using Photoshop in the screenshots below.Could you provide me with the lines of CSS what would allow me to adjust the spacing my fixed right navbar has to the right, and the opacity?
I’d also like to ask if it is possible (if so, how?) to create an effect like this site uses.
Where the navbar i cut off about half way down, and an image (in their case a triangle) has been added to the bottom to create a ribbon effect.
I attatched a mockup to how that could look with my navbar too.
My site: http://www.mortenlissau.dk
July 12, 2016 at 1:51 pm #1083584
RupokMemberHi there,
Thanks for writing in! This kind of customization is out of our support scope but I am providing you some code so that you can start :
Let’s add this under Custom > CSS in the Customizer.
.x-navbar.x-navbar-fixed-right { background: rgba(0, 0, 0, 0.8); border: medium none; margin-right: 75px; }Hope this helps.
Cheers!
July 12, 2016 at 4:30 pm #1083816
JuliusParticipantCool, you solved the first problem, thank you!
I will play around with the last idea, but the CSS defiantly helps on that part too.
Cheers!
July 13, 2016 at 1:50 am #1084373
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!
July 14, 2016 at 3:56 am #1086443
JuliusParticipantQuick follow up question:
The page layout does not seem take into account that the navbar has been pushed towards the middle. Therefore the content is no longer centered.
Is it possible to do something about that?
July 14, 2016 at 3:59 am #1086451
JuliusParticipantScreenshot
July 14, 2016 at 4:12 am #1086462
JuliusParticipantAlso, if possible, the css should be specific to desktop to avoid transparency and the margin effect on the mobile navbar.
July 14, 2016 at 6:43 am #1086653
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
@media (min-width: 979px) { body.x-navbar-fixed-right-active { padding-right: 345px; } }Hope that helps
July 14, 2016 at 10:15 am #1086927
JuliusParticipantYes, it does.
Thank you very much!
July 14, 2016 at 12:23 pm #1087118
JoaoModeratorGlad to hear it.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1083341 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
