Site logo

Archived topic

stalmachopole.com.pl/ - HAUS - top bar

11 replies · Started by Robert on June 23, 2020

Viewing posts 1–12 of 12

Hi there,

can you add then wesprzyj nas link to its own Widget then i can provide some CSS to create that layout

Hi

yep - no problem

done!

thx
Robert

Order the widgets like so:

1. Lightweight Social Icons
2. wesprzyj nas
3. House Image
4. Language links

then 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%);
}

Hi

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
Robert

Hi 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;
}

Hi

thx - it works :)

I wanna ask more about the top bar: he dissapears on the mobile devices - can I make it visble ?

Kr
Robert

In 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;
}

Hi

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
Robert

1. In this CSS change the top: 5px; to top: 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);
    }
}

Hi

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
Robert

This archived topic is closed to new replies.