- This topic has 17 replies, 3 voices, and was last updated 3 years, 5 months ago by
Fernando.
-
AuthorPosts
-
November 6, 2022 at 12:29 pm #2403938
sparkle
i’m having trouble with the generatepress full width setting and elementor’s stretch section setting. what i used to do doesn’t seem to work any more. now when i try to stretch the background, it moves everthing to the right. i have been able to thwart it in a few places with css:
section.elementor-section-stretched {left: initial!important;}but it doesn’t always seem to work. is there some css you would recommend to get the image back in line with the left edge?
i searched a little and found the article that talks about setting the container to full width on the site / page. i’m pretty sure i have this all set properly but am still having issues stretching the background of the section. i don’t really want the content to push out to full width.
also… my very first nav item has an image with text. is there a way i can align those to the middle so the name is in the same horizontal line as the menu labels?
November 6, 2022 at 12:40 pm #2403944sparkle
also… if i do set the template to the full width theme setting, i lose the header image i have built with elementor? how to stretch and get the header to stay?
November 6, 2022 at 12:47 pm #2403947Leo
StaffCustomer SupportHi there,
Is this the page I’m supposed to be looking at?
https://www.screencast.com/t/25T4pcvgIIf so I don’t see any GP elements there – it’s all coming from Elementor.
November 6, 2022 at 12:50 pm #2403949sparkle
oh dang. i forgot we have a maintenance door on it. one sec and i’ll get you a login. thanks. thanks for blurring the name.
November 6, 2022 at 12:55 pm #2403954sparkle
access info attached. secret is good for 7 days and can only be viewed once.
November 6, 2022 at 7:04 pm #2404093Fernando Customer Support
Hi Sparkle,
Can you try removing this code first from your stylesheet?:
section.elementor-section-stretched {left: initial!important;width:100vw!important;}It sees to be breaking the layout.
Then, once you’ve removed that, let us know, and we’ll go from there.
November 7, 2022 at 1:55 pm #2405383sparkle
*lol* ok. i had that in there because it seemed to fix the same issue on another page. now i can’t find that issue either. hopefully this is just going to be the last you hear on this from me. sorry. thank you.
do you have any advice on algining the navigation text item?
November 7, 2022 at 5:04 pm #2405517Fernando Customer Support
I see. You’re welcome Sparkle.
For reference, can you re-share the link to the site in question? How are you specifically wanting to align the navigation text?
November 8, 2022 at 8:30 am #2406614sparkle
sure. the site is here https://karinabheart.com/
you have to log in to get past the maintenance door. use the credentials to view if you need deeper access, let me know.
the first nav item has an image plus text. best case scenario, i want to align the text to match the bottom line of the other button text. middle aligning the text could also work.
i also am working on some drop shadow on those navigation items and it doesn’t apply to the search and cart icons. why?
November 8, 2022 at 8:30 am #2406617sparkle
oh! and my top-bar! why oh why won’t it float above the header?
November 8, 2022 at 5:27 pm #2407233Fernando Customer Support
Thank you.
1. To align the nav-items, try adding this through Appearance > Customize > Additional CSS:
div#primary-menu > .menu { align-items: flex-end; }2. For the drop shadow, I can’t seem to notice one applied to the nav-items on hover. Can you try clearing any caching mechanism you have to ensure we are seeing the same nav?
However, here’s a CSS you can try to add a shadow to the nav-items and the menu bar items:
div#primary-menu > .menu li a:hover { text-shadow: 1px 1px 4px #fff; } .menu-bar-items .menu-bar-item a:hover svg { filter: drop-shadow(3px 5px 2px rgb(255 255 255 / 40%)); }3. The top-bar is floating above the header viewing your site from my end. How exactly are you seeing it? Can you take a screenshot?
Uploading Screenshots: https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshotsNovember 9, 2022 at 5:26 am #2407969sparkle
thank you. that definitely lined the text up. do you have suggestions to get the image now middle aligned to the text vertically?
November 9, 2022 at 6:10 am #2408038sparkle
oh. i guess it’s not exactly right still…. the gp icons at the end (cart, search) aren’t alinged anymore. 🙁
November 9, 2022 at 5:10 pm #2409068Fernando Customer Support
I see. If you want to align the image as well, replace the code in #1 here: https://generatepress.com/forums/topic/elementor-stretch-image-in-nav-with-text/#post-2407233
with this:
div#primary-menu > .menu { align-items: center; } div#primary-menu > .menu > li:first-of-type a { display: flex; align-items: center; }With regards to the GP icons how do they look from your end? They seem aligned as they was before to me. Can you send a screenshot for reference?
Uploading Screenshots: https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots
November 10, 2022 at 8:05 am #2410105sparkle
oh we are getting so close. now the gp icons line up (as does the logo icon!) but they don’t have the shadow applied. %D
-
AuthorPosts
- You must be logged in to reply to this topic.