Moon Phase

Make the moon smaller? - Moon Phase

Make the moon smaller?

by JupiterGPL » Sun Apr 02, 2017 8:03 pm

Is there anyway to make the moon smaller? Say 75x75 or 50x50? I ask because it stretches the height of the upper banner. It would fit better on the site I admin if it was a bit smaller.
User avatar
JupiterGPL
Registered User
Posts: 131
Joined: Thu Jun 08, 2006 4:52 pm
Contact:

Re: Make the moon smaller?

by JupiterGPL » Sun Apr 02, 2017 8:18 pm

Never mind.... Found it.

In the overall_header_searchbox_before.html template file I just added height and width parameters.

Code: Select all

<div id="moon" class="search-box rightside responsive-hide">  
    <img height="50" width="50" id="phase" alt="{L_MOON_ALT}" title="{L_MOON_TITLE}"/>
</div>
User avatar
JupiterGPL
Registered User
Posts: 131
Joined: Thu Jun 08, 2006 4:52 pm
Contact:

Re: Make the moon smaller?

by HiFiKabin » Mon Apr 03, 2017 9:13 am

Yes, setting the height and width parameters is all you need to do.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Make the moon smaller?

by BruceS68602 » Sat Sep 22, 2018 11:15 pm

I also wish to resize the displayed moon but the above advice doesn't seem to apply any more.
Can you advise the best way to do it in the latest version please?
BruceS68602
Registered User
Posts: 13
Joined: Wed Sep 09, 2015 5:05 am
Contact:

Re: Make the moon smaller?

by HiFiKabin » Sun Sep 23, 2018 9:20 am

Tested with v 1.0.7

OPEN

ext/hifikabin/moonphase/styles/prosilver/theme/moonphase.css

at the end on the file, on a new line, paste

Code: Select all

.headerbar #phase {
	height: 80px;
}
adjusting 80px to the height you would like

Save>upload>purge BROWSER cache
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Make the moon smaller?

by BruceS68602 » Wed Sep 26, 2018 10:48 pm

Thankyou James.
I had to also put width in or it squished it too much. All fixed.
BruceS68602
Registered User
Posts: 13
Joined: Wed Sep 09, 2015 5:05 am
Contact:

Re: Make the moon smaller?

by Lumpy Burgertushie » Sun Oct 06, 2019 9:48 pm

I am trying to make it show up at the top left of a banner that I set using your headerbanner ext.
It sits above the banner image.
https://www.the-witchcraft-emporium.co. ... /index.php

I managed to move it to the left side by changing the float and margins in the css but it is still above the banner.
I changed the css back to default.

thanks,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Make the moon smaller?

by HiFiKabin » Mon Oct 07, 2019 9:01 am

I see you found my Cosmos banner which solved this issue.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact: