-
AuthorPosts
-
August 19, 2017 at 7:53 pm #841386
Hi,
1) I want my body to start directly under the menu without distance. How can I reduce it? My menu is 45px. Already chose the header style “minimal”
I tried:
.content, .sidebar { padding-top: 1px; } but it has no effect.
2) Can I set menu for home screen background: black, fonts: grey/white and for other pages background grey/white and fonts: black?
- This topic was modified 7 years, 4 months ago by kanzlei_werner.
August 19, 2017 at 8:18 pm #841395Hey kanzlei_werner,
To reduce the padding try:.content, .sidebar {padding-top: 0px!important; }
the !important; should help.
For your second question, I would recommend changing your menu to the colors you want for all your pages, and then using custom css for your home page. Because you have a lot of other pages.#top.home #header_main.container_wrap.container_wrap_logo {background-color: #000 !important;} #top.home .logo img {display:none !important; } #top.home .header_color .main_menu ul:first-child > li > a, #top.home .header_color .main_menu ul:first-child > li.current-menu-item > a, #top.home .header_color .main_menu ul:first-child > li.current_page_item > a {color: #fff !important;}
Please see screenshot in Private Content area to ensure I’m targeting the right areas
note that in my screenshot it is a lighter black to show the area. Please adjust the colors above to suit.Best regards,
MikeAugust 19, 2017 at 9:43 pm #841434Hello Mike,
many thanks. With this I can only reduce the space between main content area and header. but as you can see on the screenshot there is some space between menu and main content area – which belongs to header. I want to reduce this because if I start with color section I have a “ugly” gap.
https://postimg.org/image/yn5vibpk9/
2) it helped thanks! but I also need the adress & phone line on top in black for the home page. What do I have to add to Quick CSS? I also don’t want to have the white border line below menu, how can I delete or change color at home page also to black?
- This reply was modified 7 years, 4 months ago by kanzlei_werner.
August 20, 2017 at 3:07 pm #841678Hi,
2) This changes the top bar background-color, hides the bottom border, and changes the font to white:.header_color .container_wrap_meta {background-color: #000 !important;} .header_color div {border-color: transparent !important; } .header_color .phone-info {color: #fff !important;}
1) It would be better to remove the title bar on a per page basis in the editor, go to Title Bar Settings > Hide Both
Best regards,
MikeAugust 20, 2017 at 4:23 pm #841694Thank you, this helped!
August 20, 2017 at 4:33 pm #841700August 20, 2017 at 4:36 pm #841702Yes! thanks again!
August 20, 2017 at 5:22 pm #841722 -
AuthorPosts
- The topic ‘Delete distance to menu & different menu colours on different pages’ is closed to new replies.