- This topic has 11 replies, 3 voices, and was last updated 3 years, 10 months ago by Tom.
-
AuthorPosts
-
June 23, 2020 at 4:25 am #1338498Robert
Hi
how are You?
I wanna ask if on:
https://www.stalmachopole.com.pl/its passible to change the TOP BAR so that he would looks like:
http://www.czokbud.pl/haus2.jpgOn this moment I have 3 elements on ti:
http://www.czokbud.pl/haus1.jpgKr
RobertJune 23, 2020 at 5:40 am #1338587DavidStaffCustomer SupportHi there,
can you add then
wesprzyj nas
link to its own Widget then i can provide some CSS to create that layoutJune 23, 2020 at 8:09 am #1338947RobertHi
yep – no problem
done!
thx
RobertJune 23, 2020 at 8:17 am #1338962DavidStaffCustomer SupportOrder the widgets like so:
1. Lightweight Social Icons
2.wesprzyj nas
3. House Image
4. Language linksthen add this CSS:
.inside-top-bar { display: flex; position: relative; } .inside-top-bar #lsi_widget-1 { margin-right: auto; } .inside-top-bar .widget_media_image { margin-right: 50px !important; } .inside-top-bar #custom_html-3 { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); }
June 23, 2020 at 9:56 am #1339092RobertHi
thx – I used Your CSS code and it looks very good.
one question moge – we decidet to put the haus image quite down – its now on the right
but now are the TXT:© 2020 DOM WSPÓŁPRACY POLSKO-NIEMIECKIEJ
not in the same line with “CHRONIMY PLANETĘ”
– how could I fix it?For the imega I used:
<a href="http://www.haus.pl"> <img src="https://www.stalmachopole.com.pl/wp-content/uploads/2020/06/zielony_domek_ochrona_srodowiska_przycisk4.png" width="40" /> CHRONIMY PLANETĘ</a>
Kr
RobertJune 23, 2020 at 4:20 pm #1339507TomLead DeveloperLead DeveloperHi there,
Give this CSS a shot:
.inside-site-info { display: flex; align-items: center; } .footer-bar-align-right .footer-bar { order: 2; margin-left: auto; }
June 23, 2020 at 9:47 pm #1339689RobertHi
thx – it works 🙂
I wanna ask more about the top bar: he dissapears on the mobile devices – can I make it visble ?
Kr
RobertJune 24, 2020 at 3:05 am #1339913DavidStaffCustomer SupportIn Customizer > Additional CSS you have this:
@media (max-width: 768px) { .top-bar { display: none; } }
remove that CSS to display the top bar on mobile.
And then add this CSS to re-align the widgets:
.top-bar-align-right .inside-top-bar #custom_html-2 { margin-left: auto !important; }
June 24, 2020 at 5:56 am #1340077RobertHi
I did it and it works but:
1. mobile vers:
those two links: “wesprzyj nas” and: polski / deutsch
aren’t in the some line. How could I fix it?2. desktop version:
how could I move about 100px the link “wesprzyj nas” to the right ?Kr
RobertJune 24, 2020 at 6:43 am #1340132DavidStaffCustomer Support1. In this CSS change the
top: 5px;
totop: 8px;
@media(min-width: 769px) { .inside-top-bar #custom_html-3 { transform: unset; left: calc(50% + 100px); } }
2. Add this CSS to adjust the position of the link on desktop:
@media(min-width: 769px) { .inside-top-bar #custom_html-3 { transform: unset; left: calc(50% + 100px); } }
June 24, 2020 at 7:28 am #1340176RobertHi
ad. 1 – it works!
ad. 2. I addes Your code and on the desktop version it lookd good byt on the mobile ver. “wesprzyj nas” movs over the “polski / deutsch”
Thx
RobertJune 24, 2020 at 2:47 pm #1340751TomLead DeveloperLead DeveloperHi there,
Can you make sure you’ve added the code above as separate blocks of code as opposed to tweaking the original code David provided? The code in the post above has media queries.
So you need this code: https://generatepress.com/forums/topic/stalmachopole-com-pl-haus-top-bar/#post-1338962
And this code: https://generatepress.com/forums/topic/stalmachopole-com-pl-haus-top-bar/#post-1340132
-
AuthorPosts
- You must be logged in to reply to this topic.