-
AuthorPosts
-
May 4, 2017 at 1:16 pm #787791
Hi there,
I’m not using a logo in my site, so I want to start with the navigation.
In the custom css box I’ve added this code which I found in the support forum:.logo > a > img { display: none !important; } .container.av-logo-container{ display: none !important; }
The logo is gone, so that works.
What I would like is to control the space above the navigation and below it.
It’s completely at the top now, and the space below it for the next element, a text box, is huge.
I gave the text box 0 padding above and below it, so I don’t understand where the big space is coming from.
How can I control those two area’s?Best, Haiko
May 4, 2017 at 4:02 pm #787900In addition, I can’t get the slider on top of the page on the exact starting height like in the demo I’ve imported. When I duplicate the page it is the same, but when starting from scratch it’s much higher. Was there some custom code used to create the demo pages that I need to know about?
May 4, 2017 at 4:25 pm #787922Hi Haiko,
The
main
div has padding on top to give space to the header. That’s the one we have to adjust now.Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.html_header_top.html_header_sticky #top #wrap_all #main {padding-top:50px !important;}
Sorry, but which is the other space that you would like to adjust?
Best regards,
SarahMay 4, 2017 at 5:09 pm #787944Hi Sarah,
thanks for your reply.I don’t see anything happening when I use that code, but I changed some spaces in the code and it does something now.
I’ll break up what I want to accomplish.1) I would like to move the whole menu down a bit on all pages
2) I would like all my content, be it a slider or a textbox, to start at the same distance below the menu, see link A) in private content. Just like in the imported demo content ‘Minimal Portfolio Demo’ shown here. I got it to work on the link B), but on my current homepage; link C) the text box starts way too low. I would really like to do it with the visual interface and not with custom code if it’s possible, since with custom code I don’t know what the effects on future content will be.
4) When I try to create a page exactly like the page in 2), but starting from scratch, the slider starts underneath the menu, and I can’t find where I can change the padding for it using the interface. see link 3) in private content. Are there some hidden settings for the demo content ‘Minimal Portfolio Demo’ to look like this?
I found.html_header_top.html_header_sticky #top #wrap_all #main{ padding-top:95px; }
with the inspector which does exactly what I need, but I can’t figure out where that setting is done, and why it only works for the demo content and not for new pages.
5) Another distance problem is the grey box underneath the page in link C). Whatever I do, I can’t get control over the distance from the box to the text above it. I would really like to do it with the visual interface as well and not with custom code if it’s possible.I hope you can help me.
- This reply was modified 7 years, 7 months ago by rhae.
May 5, 2017 at 12:45 pm #788353Hi Haiko,
For #1, can you try using this code instead:
#header_main { margin-top: 15px !important; }
For the other items, there are paddings built into the theme elements in order to give elegant spacing between them. We totally understand if you want them customized, and this can be done through Quick CSS. :)
We can still check if there’s something we can change through your Editor. May we have temporary access into your Dashboard so we can take a closer look at your page?
Best regards,
SarahMay 5, 2017 at 1:43 pm #788375Hi Sarah,
thank you. The solution for #1 works :-)
I’ve added the access details. If the editor doesn’t work out, Quick CSS is fine.
I would like control over the space around the title box (AgriFood Executive Global Programme) and the quote below the image (The pathway to global competitive advantage and cooperation in AgriFood business. A Provocative and challenging development experience for future business leaders and executives in the AgriFood industry.)Best, Haiko.
May 5, 2017 at 4:27 pm #788468Hi Haiko,
Thank you for the access. We’ll really have to use with CSS to override the automatic paddings. We can do this within the visual interface so that it only affects the page we’re working on. :)
If you check now, you’ll see that I’ve added a Code Block that contains this:
<style>#main .container_wrap_first:first-child .content { padding-top: 0; } .avia-builder-el-4 .content { padding-bottom: 0; } </style>
With this, you can control the paddings and not worry about the other pages. You can change the values of the padding to fit your preference.
Let us know if you need further help!
Best regards,
SarahMay 5, 2017 at 4:30 pm #788474Great, thanks a lot!
In case I want to use this everywhere, Can I just add it to quick css like this?#main .container_wrap_first:first-child .content { padding-top: 0; } .avia-builder-el-4 .content { padding-bottom: 0; }
May 5, 2017 at 4:35 pm #788482Hi Haiko,
Yes, you can do that.
Please note that
.avia-builder-el-4
narrows down the usage of the style. If you want to apply that style to other elements, you have to check the class that they have.Sarah
May 8, 2017 at 10:43 am #789391Great, thanks a lot!
May 8, 2017 at 11:19 am #789411You’re welcome, Haiko!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you.
Thank you for using Enfold.
Cheers!
Sarah -
AuthorPosts
- You must be logged in to reply to this topic.