Home › Forums › WoodMart support forum › Pre Built Website – Alternative Energy – Remove Space Between Header & Body
Pre Built Website – Alternative Energy – Remove Space Between Header & Body
- This topic has 10 replies, 2 voices, and was last updated 1 year, 4 months ago by
Hung Pham.
-
AuthorPosts
-
October 12, 2023 at 12:53 am #503480
EricParticipantHello,
I am using the Pre Built Website – Alternative Energy. The issue I have is that there is this huge space on the top of any new page that is built. It doesn’t seem to be a problem on the home page though. I was able to find the background image and delete it. I still have this big empty black space at the top of the page that I cannot figure out how to remove it.
I would like to set a margin and not display the page name in the page itself.
I have tried to fix this problem by adding every css string I can find. The only one that comes close is the one below. How ever it takes away too much space and the page content is to high.
.wd-header-overlap .page-title {
display: none;
}Attachments:
You must be logged in to view attached files.October 12, 2023 at 6:35 am #503505
EricParticipantI wanted to give you an update as this may help others that are wanting to get the same results that I am trying to achieve. I thought I was making progress until I messed up my header seetings. Now I want to remember the steps involved to upload the original header. Lesson learned, I should have made a copy and edited the duplicated version.
I created a test page and saw in this support forum how to disable the page title and that also removed the big empty black space between the header and the content at the top of the page.
This removed too much area and I needed to create some blank space so that there would be some padding as some of the page content was above the top page and not visible. The header was also not being displayed. I added a spacer and colored the container green so I could identify its area in a browser as I previewed my edits.
I did not save a screenshot as what it looked like at this point. The header was too high though and some of it was missing. I finally figured out the solution which was adding space to the top section of the header. During this process though, I messed up some of the other settings so I need to start over.
I finally got the measurements of the page and the header how I want them. I just need to fix my header. I am hoping for an easier way to do this so it is either in the php or css so I don’t have to do this for every new page I create.
Here is how it looks in the browser.
October 12, 2023 at 8:32 am #503521
EricParticipantAt this point I am unsure what I have done to get the spacing figured out on a test page but unable to duplicate the same settings on new pages. The picture below is what I am wanting the settings to be by default for every new page created.
I was able to upload the original header that I made edits to. So I have that back up saved now.
I will provide a link to the test page that is pictured above in the Extra Information section.
October 12, 2023 at 8:40 am #503525
EricParticipantI just realized that I do not have a copy of the original header. I guess I only duplicated what I already have. I just need to know how to get an original copy of the “Header Alternative-energy Overlap”
October 13, 2023 at 8:03 am #503840
Hung PhamKeymasterHi Eric,
Thanks for reaching to us.
Here is JSON of “Header Alternative-energy Overlap” original header, you can import to your header builder. You can read more here https://xtemos.com/docs-topic/how-to-export-import-headers/
{"name":"Header Alternative-energy Overlap","structure":{"id":"root","type":"root","content":[{"id":"top-bar","type":"row","content":[{"id":"column5","type":"column","content":[{"id":"mgm18qyb3yce3djrkn5d","type":"text","params":{"content":{"id":"content","value":"<a href=\"tel:(+035) 527-1710-70\"><img style=\"margin: -4px 10px 0 0;\" src=\"http://dummy.xtemos.com/woodmart2/elementor/wp-content/uploads/sites/2/2021/10/alternative-energy-phone-icon.svg\" alt=\"phone-icon\" />(+035) 527-1710-70</a>","type":"editor"},"inline":{"id":"inline","value":false,"type":"switcher"},"css_class":{"id":"css_class","value":"","type":"text"}}},{"id":"pu88blz1sby2457nhpzp","type":"text","params":{"content":{"id":"content","value":"<a href=\"#\"><img style=\"margin: -4px 10px 0 0;\" src=\"http://dummy.xtemos.com/woodmart2/elementor/wp-content/uploads/sites/2/2021/10/alternative-energy-email-icon.svg\" alt=\"email-icon\" />NEWSLETTER</a>","type":"editor"},"inline":{"id":"inline","value":false,"type":"switcher"},"css_class":{"id":"css_class","value":"woodmart-open-newsletter","type":"text"}}}]},{"id":"column6","type":"column","content":[]},{"id":"column7","type":"column","content":[{"id":"y4ro7npestv02kyrww49","type":"text","params":{"content":{"id":"content","value":"FREE SHIPPING FOR ALL ORDERS OF $150","type":"editor"},"inline":{"id":"inline","value":false,"type":"switcher"},"css_class":{"id":"css_class","value":"","type":"text"}}}]},{"id":"column_mobile1","type":"column","content":[]}],"params":{"row_columns":{"id":"row_columns","value":"3","type":"selector"},"flex_layout":{"id":"flex_layout","value":"flex-middle","type":"selector"},"height":{"id":"height","value":45,"type":"slider"},"mobile_height":{"id":"mobile_height","value":40,"type":"slider"},"hide_desktop":{"id":"hide_desktop","value":false,"type":"switcher"},"hide_mobile":{"id":"hide_mobile","value":true,"type":"switcher"},"sticky":{"id":"sticky","value":false,"type":"switcher"},"sticky_height":{"id":"sticky_height","value":41,"type":"slider"},"color_scheme":{"id":"color_scheme","value":"light","type":"selector"},"background":{"id":"background","value":[],"type":"bg"},"border":{"id":"border","value":{"width":"1","color":{"r":255,"g":255,"b":255,"a":0.25},"sides":["bottom"],"applyFor":"boxed"},"type":"border"},"shadow":{"id":"shadow","value":false,"type":"switcher"}}},{"id":"general-header","type":"row","content":[{"id":"column8","type":"column","content":[{"id":"gs8bcnxektjsro21n657","type":"logo","params":{"image":{"id":"image","value":{"id":114,"url":"http://localhost/woodmart/wp-content/uploads/2021/08/wood-logo-white-reserve.svg","width":369,"height":53},"type":"image"},"width":{"id":"width","value":180,"type":"slider"},"sticky_notice":{"id":"sticky_notice","value":"","type":"notice"},"sticky_image":{"id":"sticky_image","value":"","type":"image"},"sticky_width":{"id":"sticky_width","value":245,"type":"slider"},"width_height":{"id":"width_height","value":true,"type":"switcher"}}},{"id":"b51hbxbg8h22qn4yrxf1","type":"space","params":{"width":{"id":"width","value":30,"type":"slider"},"css_class":{"id":"css_class","value":"","type":"text"}}}]},{"id":"column9","type":"column","content":[{"id":"6kgdkbvf12frej4dofvj","type":"mainmenu","params":{"menu_id":{"id":"menu_id","value":"","type":"options"},"full_screen":{"id":"full_screen","value":false,"type":"switcher"},"style":{"id":"style","value":"text","type":"selector"},"icon_design":{"id":"icon_design","value":"1","type":"selector"},"wrap_type":{"id":"wrap_type","value":"icon_only","type":"selector"},"color":{"id":"color","value":"","type":"color"},"hover_color":{"id":"hover_color","value":"","type":"color"},"bg_color":{"id":"bg_color","value":"","type":"color"},"bg_hover_color":{"id":"bg_hover_color","value":"","type":"color"},"icon_color":{"id":"icon_color","value":"","type":"color"},"icon_hover_color":{"id":"icon_hover_color","value":"","type":"color"},"icon_bg_color":{"id":"icon_bg_color","value":"","type":"color"},"icon_bg_hover_color":{"id":"icon_bg_hover_color","value":"","type":"color"},"icon_type":{"id":"icon_type","value":"default","type":"selector"},"custom_icon":{"id":"custom_icon","value":"","type":"image"},"menu_style":{"id":"menu_style","value":"default","type":"selector"},"menu_align":{"id":"menu_align","value":"left","type":"selector"},"items_gap":{"id":"items_gap","value":"s","type":"selector"},"bg_overlay":{"id":"bg_overlay","value":false,"type":"switcher"},"inline":{"id":"inline","value":false,"type":"switcher"}}}]},{"id":"column10","type":"column","content":[{"id":"vssfpylqqax9pvkfnxoz","type":"account","params":{"with_username":{"id":"with_username","value":false,"type":"switcher"},"login_dropdown":{"id":"login_dropdown","value":true,"type":"switcher"},"form_display":{"id":"form_display","value":"side","type":"selector"},"display":{"id":"display","value":"text","type":"selector"},"icon_design":{"id":"icon_design","value":"1","type":"selector"},"wrap_type":{"id":"wrap_type","value":"icon_only","type":"selector"},"color":{"id":"color","value":"","type":"color"},"hover_color":{"id":"hover_color","value":"","type":"color"},"bg_color":{"id":"bg_color","value":"","type":"color"},"bg_hover_color":{"id":"bg_hover_color","value":"","type":"color"},"icon_color":{"id":"icon_color","value":"","type":"color"},"icon_hover_color":{"id":"icon_hover_color","value":"","type":"color"},"icon_bg_color":{"id":"icon_bg_color","value":"","type":"color"},"icon_bg_hover_color":{"id":"icon_bg_hover_color","value":"","type":"color"},"icon_type":{"id":"icon_type","value":"default","type":"selector"},"custom_icon":{"id":"custom_icon","value":"","type":"image"},"bg_overlay":{"id":"bg_overlay","value":false,"type":"switcher"}}},{"id":"a22wdkiy3r40yw2paskq","type":"wishlist","params":{"design":{"id":"design","value":"icon","type":"selector"},"icon_design":{"id":"icon_design","value":"2","type":"selector"},"wrap_type":{"id":"wrap_type","value":"icon_only","type":"selector"},"color":{"id":"color","value":"","type":"color"},"hover_color":{"id":"hover_color","value":"","type":"color"},"bg_color":{"id":"bg_color","value":"","type":"color"},"bg_hover_color":{"id":"bg_hover_color","value":"","type":"color"},"icon_color":{"id":"icon_color","value":"","type":"color"},"icon_hover_color":{"id":"icon_hover_color","value":"","type":"color"},"icon_bg_color":{"id":"icon_bg_color","value":"","type":"color"},"icon_bg_hover_color":{"id":"icon_bg_hover_color","value":"","type":"color"},"icon_type":{"id":"icon_type","value":"default","type":"selector"},"custom_icon":{"id":"custom_icon","value":"","type":"image"},"hide_product_count":{"id":"hide_product_count","value":false,"type":"switcher"}}},{"id":"z71sozotxn0s5a0nfm7a","type":"compare","params":{"design":{"id":"design","value":"icon","type":"selector"},"icon_design":{"id":"icon_design","value":"2","type":"selector"},"wrap_type":{"id":"wrap_type","value":"icon_only","type":"selector"},"color":{"id":"color","value":"","type":"color"},"hover_color":{"id":"hover_color","value":"","type":"color"},"bg_color":{"id":"bg_color","value":"","type":"color"},"bg_hover_color":{"id":"bg_hover_color","value":"","type":"color"},"icon_color":{"id":"icon_color","value":"","type":"color"},"icon_hover_color":{"id":"icon_hover_color","value":"","type":"color"},"icon_bg_color":{"id":"icon_bg_color","value":"","type":"color"},"icon_bg_hover_color":{"id":"icon_bg_hover_color","value":"","type":"color"},"icon_type":{"id":"icon_type","value":"default","type":"selector"},"custom_icon":{"id":"custom_icon","value":"","type":"image"},"hide_product_count":{"id":"hide_product_count","value":false,"type":"switcher"},"show_dropdown_category":{"id":"show_dropdown_category","value":false,"type":"switcher"}}},{"id":"6ivlq8kef7blyepibxz1","type":"cart","params":{"position":{"id":"position","value":"side","type":"selector"},"bg_overlay":{"id":"bg_overlay","value":false,"type":"switcher"},"design":{"id":"design","value":"","type":"selector"},"style":{"id":"style","value":"1","type":"selector"},"wrap_type":{"id":"wrap_type","value":"icon_only","type":"selector"},"color":{"id":"color","value":"","type":"color"},"hover_color":{"id":"hover_color","value":"","type":"color"},"bg_color":{"id":"bg_color","value":"","type":"color"},"bg_hover_color":{"id":"bg_hover_color","value":"","type":"color"},"icon_color":{"id":"icon_color","value":"","type":"color"},"icon_hover_color":{"id":"icon_hover_color","value":"","type":"color"},"icon_bg_color":{"id":"icon_bg_color","value":"","type":"color"},"icon_bg_hover_color":{"id":"icon_bg_hover_color","value":"","type":"color"},"icon_type":{"id":"icon_type","value":"cart","type":"selector"},"custom_icon":{"id":"custom_icon","value":"","type":"image"}}}]},{"id":"column_mobile2","type":"column","content":[{"id":"g1k0m1tib7raxrwkm1t3","type":"burger","params":{"close_btn":{"id":"close_btn","value":false,"type":"switcher"},"search_form":{"id":"search_form","value":true,"type":"switcher"},"post_type":{"id":"post_type","value":"product","type":"selector"},"show_wishlist":{"id":"show_wishlist","value":true,"type":"switcher"},"show_compare":{"id":"show_compare","value":true,"type":"switcher"},"show_account":{"id":"show_account","value":true,"type":"switcher"},"show_html_block":{"id":"show_html_block","value":false,"type":"switcher"},"languages":{"id":"languages","value":false,"type":"switcher"},"show_language_flag":{"id":"show_language_flag","value":true,"type":"switcher"},"categories_menu":{"id":"categories_menu","value":true,"type":"switcher"},"primary_menu_title":{"id":"primary_menu_title","value":"","type":"text"},"secondary_menu_title":{"id":"secondary_menu_title","value":"","type":"text"},"menu_id":{"id":"menu_id","value":"mobile-categories","type":"options"},"tabs_swap":{"id":"tabs_swap","value":false,"type":"switcher"},"position":{"id":"position","value":"left","type":"selector"},"style":{"id":"style","value":"text","type":"selector"},"icon_design":{"id":"icon_design","value":"1","type":"selector"},"wrap_type":{"id":"wrap_type","value":"icon_only","type":"selector"},"color":{"id":"color","value":"","type":"color"},"hover_color":{"id":"hover_color","value":"","type":"color"},"bg_color":{"id":"bg_color","value":"","type":"color"},"bg_hover_color":{"id":"bg_hover_color","value":"","type":"color"},"icon_color":{"id":"icon_color","value":"","type":"color"},"icon_hover_color":{"id":"icon_hover_color","value":"","type":"color"},"icon_bg_color":{"id":"icon_bg_color","value":"","type":"color"},"icon_bg_hover_color":{"id":"icon_bg_hover_color","value":"","type":"color"},"icon_type":{"id":"icon_type","value":"default","type":"selector"},"custom_icon":{"id":"custom_icon","value":"","type":"image"}}}]},{"id":"column_mobile3","type":"column","content":[{"id":"lt7vdqgaccmapftzurvt","type":"logo","params":{"image":{"id":"image","value":{"id":114,"url":"http://localhost/woodmart/wp-content/uploads/2021/08/wood-logo-white-reserve.svg","width":369,"height":53},"type":"image"},"width":{"id":"width","value":179,"type":"slider"},"sticky_notice":{"id":"sticky_notice","value":"","type":"notice"},"sticky_image":{"id":"sticky_image","value":"","type":"image"},"sticky_width":{"id":"sticky_width","value":179,"type":"slider"},"width_height":{"id":"width_height","value":true,"type":"switcher"}}}]},{"id":"column_mobile4","type":"column","content":[{"id":"trk5sfmvib0ch1s1qbtc","type":"cart","params":{"position":{"id":"position","value":"side","type":"selector"},"bg_overlay":{"id":"bg_overlay","value":false,"type":"switcher"},"design":{"id":"design","value":"","type":"selector"},"style":{"id":"style","value":"5","type":"selector"},"wrap_type":{"id":"wrap_type","value":"icon_only","type":"selector"},"color":{"id":"color","value":"","type":"color"},"hover_color":{"id":"hover_color","value":"","type":"color"},"bg_color":{"id":"bg_color","value":"","type":"color"},"bg_hover_color":{"id":"bg_hover_color","value":"","type":"color"},"icon_color":{"id":"icon_color","value":"","type":"color"},"icon_hover_color":{"id":"icon_hover_color","value":"","type":"color"},"icon_bg_color":{"id":"icon_bg_color","value":"","type":"color"},"icon_bg_hover_color":{"id":"icon_bg_hover_color","value":"","type":"color"},"icon_type":{"id":"icon_type","value":"cart","type":"selector"},"custom_icon":{"id":"custom_icon","value":"","type":"image"}}}]}],"params":{"row_columns":{"id":"row_columns","value":"3","type":"selector"},"flex_layout":{"id":"flex_layout","value":"flex-middle","type":"selector"},"height":{"id":"height","value":90,"type":"slider"},"mobile_height":{"id":"mobile_height","value":60,"type":"slider"},"hide_desktop":{"id":"hide_desktop","value":false,"type":"switcher"},"hide_mobile":{"id":"hide_mobile","value":false,"type":"switcher"},"sticky":{"id":"sticky","value":true,"type":"switcher"},"sticky_height":{"id":"sticky_height","value":60,"type":"slider"},"color_scheme":{"id":"color_scheme","value":"light","type":"selector"},"background":{"id":"background","value":[],"type":"bg"},"border":{"id":"border","value":{"width":"0","applyFor":"fullwidth","style":"solid","sides":["bottom"]},"type":"border"},"shadow":{"id":"shadow","value":false,"type":"switcher"}}},{"id":"header-bottom","type":"row","content":[{"id":"column11","type":"column","content":[]},{"id":"column12","type":"column","content":[]},{"id":"column13","type":"column","content":[]},{"id":"column_mobile5","type":"column","content":[]}],"params":{"row_columns":{"id":"row_columns","value":"3","type":"selector"},"flex_layout":{"id":"flex_layout","value":"flex-middle","type":"selector"},"height":{"id":"height","value":50,"type":"slider"},"mobile_height":{"id":"mobile_height","value":50,"type":"slider"},"hide_desktop":{"id":"hide_desktop","value":true,"type":"switcher"},"hide_mobile":{"id":"hide_mobile","value":true,"type":"switcher"},"sticky":{"id":"sticky","value":false,"type":"switcher"},"sticky_height":{"id":"sticky_height","value":50,"type":"slider"},"color_scheme":{"id":"color_scheme","value":"dark","type":"selector"},"background":{"id":"background","value":[],"type":"bg"},"border":{"id":"border","value":{"style":"solid","applyFor":"fullwidth","sides":["bottom"],"width":"1","color":{"r":230,"g":230,"b":230,"a":1}},"type":"border"},"shadow":{"id":"shadow","value":false,"type":"switcher"}}}]},"settings":{"overlap":{"id":"overlap","value":true,"type":"switcher"},"boxed":{"id":"boxed","value":false,"type":"switcher"},"full_width":{"id":"full_width","value":false,"type":"switcher"},"dropdowns_dark":{"id":"dropdowns_dark","value":false,"type":"switcher"},"sticky_shadow":{"id":"sticky_shadow","value":true,"type":"switcher"},"hide_on_scroll":{"id":"hide_on_scroll","value":false,"type":"switcher"},"sticky_effect":{"id":"sticky_effect","value":"slide","type":"selector"},"sticky_clone":{"id":"sticky_clone","value":false,"type":"switcher"},"sticky_height":{"id":"sticky_height","value":60,"type":"slider"}}}
Regards,
October 15, 2023 at 3:51 am #504225
EricParticipantThank you for the header json.
How do I get space between the bottom of the header and all my website pages.
I need 30 pixels of margin between the bottom on the header and the top of every existing and new page created.
This seems like it should be a simple solution but I have not been able to find any css or html that works. Or maybe I am entering it in the wrong location.
October 15, 2023 at 7:19 am #504228
EricParticipantI tried this but it only bought down both the header and the page, I deally, I would like to add code to one place that will bring the top of the page down even with the bottom odf the header.
selector {
margin-top: 50px;
}October 15, 2023 at 7:23 am #504229
EricParticipantI entered this html to a blog post and it was close to giving me the results I was looking for. I just needed more space.
<html>
<head>
</head>
<body>
</body>
</html>October 15, 2023 at 7:31 am #504230
EricParticipantThis is what I am looking for as results. I would like this to happen automatically so I do not need to add html to every single page manually.
<html>
<head>
</head>
<body>
<div style=”height: 80px;”></div>
</body>
</html>” alt=”Picture” />
This is where I put it in the pages.
October 15, 2023 at 8:59 am #504233
EricParticipantI can’t figure this out. Nothing is working for the shop page. I tried this code:
selector .woocommerce-page {
padding-top: 50px;
}October 16, 2023 at 6:02 pm #504544
Hung PhamKeymasterHi Eric,
Please provide temporary wp-admin access to Private Content, I will take a look the settings.
Regards,
-
AuthorPosts
Tagged: Header Space Remove
- You must be logged in to create new topics. Login / Register