Home › Forums › Support › all buttons border radius; header 3 columns, footer 3 instead of 4 columns, …
- This topic has 13 replies, 4 voices, and was last updated 3 years, 11 months ago by
David.
-
AuthorPosts
-
June 13, 2019 at 1:35 pm #928848
Armin
Dear Coders π
I want to achieve the following results with GP premium 1.8.2:
1. all buttons with border radius;
2. header with 3 columns filled with 3 different logos all centered horizontal and vertical (pictures with links to external URL’s), 1 left, 1 center, 1 right, in a fixed header height;
3. footer 3 instead of 4 columns on one sub-page;
4. NavMenu entry with 2 Text-Lines;
5. Auto Vertical Listing of 3 Logos in the Header in Mobile View instead of resizing the Header.
Any solutions, especially without additional coding, very welcome π
June 13, 2019 at 1:45 pm #928856Leo
StaffCustomer SupportHi there,
1. This CSS should work:
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited, .woocommerce a.button { border-radius: 3px; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
2. Something like this should help:
https://docs.generatepress.com/article/split-header-three-sections/3. This should help:
https://docs.generatepress.com/article/footer-widgets/#change-the-number-of-footer-widgets-on-individual-pages-posts4. Try this:
https://generatepress.com/forums/topic/css-line-break-menu/#post-202661June 14, 2019 at 1:06 pm #929944Armin
Thank you Leo for your Support.
1. It works π
2. Your example seems to work with your example text. But I can’t get to insert a widget (like a picture) into one of the columns. It also does not seem to work with the “Widget Shortcode” Plugin, as suggested in your manual. Any other ideas?
3. Works managed through “Elements” type “Layout”.
4. Excellent, it works π
June 14, 2019 at 4:02 pm #930048Tom
Lead DeveloperLead DeveloperHi there,
Did you check the “Execute Shortcodes” checkbox in the Hook Element? It should work with the Widget Shortcode plugin as long as that option is checked.
Let me know π
June 15, 2019 at 2:18 am #930295Armin
Hi Tom,
I finally figured it out. I have to use the shortcode in the Hook instead of another widget. π
At least, these 3 pictures should be automatically listed vertically (according to the screen-width).
Actually, they are being resized and stay horizontal aligned, no matter what the screen size is.
The size of these Logo’s should not change – they should be shown as a “list” in Tablet / Mobile View or if the screen resolution is too low.
Any way to achieve that?
Thank you very much π
June 15, 2019 at 8:28 am #930626David
StaffCustomer SupportHi there,
could you link us to the site so we can take a look and advise.
You can edit your original topic and use the Site URL field to share the link privately.June 15, 2019 at 10:03 am #930717Armin
Hi David,
Done. Added point 5. in the first post of the topic.
The Site should remain in Maintenance Mode asap. Any way to send you Credentials for Backend-Admin?
Thanks for your help π
June 15, 2019 at 10:20 am #930728David
StaffCustomer SupportSo this CSS to stack the columns on smaller screens:
@media (max-width: 768px) { .header-section { flex-direction: column; } .header-section > div { flex: 1; width: 100%; } }
5. Update your CSS Rule to include the additional 3 properties i added below to center align logos vertically and horizontally:
.header-section > div { width: 33.33333%; padding: 8px; border: 1px solid orange; /* Add the following properties */ display: flex; justify-content: center; align-items: center; }
June 15, 2019 at 10:55 am #930753Armin
Thank you very much, David.
I added your CSS but the items are still being resized. π
Also, it would be nice if the logo’s keep centered.
Any help appreciated. π
June 15, 2019 at 11:42 am #930788David
StaffCustomer SupportMaybe i am not getting what you mean. Do you want the three columns to remain the same width as the page content?
June 15, 2019 at 12:46 pm #930834Armin
Yes, I would have asked for that later. But only in Desktop-Mode.
Tablet or Mobile they should be listed downward and centered horizontally, remaining the same size. We are not allowed to change the Size of the Logos, and they need to be clearly visible (in the header) on every Page.
With
display: flex;
the Logos become too small in Tablet / Mobile view.
June 15, 2019 at 12:58 pm #930838David
StaffCustomer SupportSo i adjusted the first CSS here:
It will force the columns to become fullwidth when the screen size reduced to 768px ( the mobile/table breakpoint ) – you may want to increase the 768px to a higher number so it breaks to columns sooner and stops the columns from getting ‘squeezed’.
To restrict the three columns to the width of the container edit your markup and add the
grid-container
class to the opening DIV eg.<div class="header-section grid-container">
June 15, 2019 at 1:25 pm #930847Armin
This is pretty amazing π
Thank you for your late-night support, David!
June 16, 2019 at 2:13 am #931089David
StaffCustomer SupportGlad to be of help
-
AuthorPosts
- You must be logged in to reply to this topic.