Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.

3.2 & 3.3 Extensions Database 3.2 / 3.3Custom Header Logo

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Pingui
Donator
Donator
Posts: 74
Joined: 14 Oct 2015, 19:10
    Windows 10 Chrome

Re: Custom Header Logo

Post by Pingui »

Good afternoon and Merry Christmas!

Sorry for my mistake, this ext works perfectly. The only thing I would like to know is what I would have to do so that the images I put in the header are displayed well even if the size of the header becomes large or small.

As it stands now, if the screen is small, the header image is not shown complete but broken.

Image

I hope you can help me. Thank you so much!.
Be yourself, except if you're stupid, then it is better that you be another one.
I Amiga
- www.WinUAEspanol.com
I know, my english is very bad, sorry...

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Custom Header Logo

Post by dmzx »

First post updated

User avatar

Aforce
Users
Users
Posts: 13
Joined: 09 Jan 2020, 11:21
    Windows 10 Firefox

Re: Custom Header Logo

Post by Aforce »

Thanks for this. It makes things much easier for changing the logo rather then editing individual files on multiple forum styles.

User avatar

robnms
New user
New user
Posts: 1
Joined: 20 Feb 2020, 15:32
    Windows 7 Chrome

Re: Custom Header Logo

Post by robnms »

I love this extension but I have one problem. On a mobile device the logo is huge and over the page instead of in the header. It displays correctly on my tablet if I turn it sideways but not my phone.

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Custom Header Logo

Post by TrekRed »

It does not shrink in the mobile version, even if you specify the size! It’s not clear why to indicate the sizes, since nothing changes!

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Custom Header Logo

Post by Sniper_E »

It is good to set the image to max-width: 100% so it will shrink for mobile. Even your set width for that image will be adjusted.
But sometimes the set height will stay the same when the width shrinks. There are ways around that also. Don't set a height.

Something always changes when you make valid changes. Clear cache and refresh browser.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

TRUBLITZ
Users
Users
Posts: 33
Joined: 15 Mar 2018, 14:35
    Android Chrome

Re: Custom Header Logo

Post by TRUBLITZ »

Which ext exactly? Ill install it and see. Problem can be solved using contain or cover.. Or pm me link to your site ill look at it
My Styles
:guns: I AM THE DESCENDANT OF THOSE WHO REFUSE TO BE RULED :guns:

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Custom Header Logo

Post by Sniper_E »


User avatar

TRUBLITZ
Users
Users
Posts: 33
Joined: 15 Mar 2018, 14:35
    Windows 8 Chrome

Re: Custom Header Logo

Post by TRUBLITZ »

Open:
ext/dmzx/chl/styles/prosilver/template/event/overall_header_stylesheets_after.html

Line 20 Find

Code: Select all

@media only screen and (max-width: 750px), only screen and (max-device-width: 750px) {
	span.site_logo {
		background:url("{{ SITE_LOGO_IMG }}") no-repeat;
		background-position: 0% 0%;
		max-width: 100%;
		background-size: 80%;
		background-position: center center;
	}
Inline:

Code: Select all

background-size: 80%;
Control the size of the logo image. Change 80% to "auto" or 1% - 100% "20% seems to work ok with a image 200 in width. Also Check line 12 and line 48 Enjoy.

Save, dump your cache ..

Fixed.
Image6.jpg
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Custom Header Logo

Post by TrekRed »

Do not plan to additionally make a background change for the page, it would be great!

Change the background to the picture in different forums and topics!

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Custom Header Logo

Post by Sniper_E »

@TRUBLITZ, that's some nice help you give out. Thanks!

Love the avatar Image

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Custom Header Logo

Post by TrekRed »

Do not plan to additionally make a background change for the page, it would be great!

Change the background to the picture in different forums and topics!

Duplicated the message to be the last in the subject! Noticeable! :D

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Custom Header Logo

Post by Sniper_E »

Roger that. Now I am the last to post. Do you notice that?

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Custom Header Logo

Post by TrekRed »

What's the catch? :lol:

User avatar

TRUBLITZ
Users
Users
Posts: 33
Joined: 15 Mar 2018, 14:35
    Windows 8 Chrome

Re: Custom Header Logo

Post by TRUBLITZ »

Sniper_E wrote: 05 Apr 2020, 15:57 @TRUBLITZ, that's some nice help you give out. Thanks!

Love the avatar Image
Thank You!

Post Reply Previous topicNext topic