try to uncomment this in style.css (Line 1896 to 1899)

/* span.highcharts-title { */
/* width: 100% !important; */
/* text-align: center !important; */
/* } */

to

span.highcharts-title {
    width: 100% !important;
    text-align: center !important;
}

or use your own css file with this entry

Geni schrieb am Montag, 18. April 2022 um 11:58:18 UTC+2:

> The subtitle is correctly centered, it is the title which is unfortunately 
> fixed.
> Surely the error was not yet in Blechertown: 1.0.1, see 
> https://www.meteo-oberwallis.ch/wetter/britanniahitta/user/.
> The title was still centered and didn't have the hover-attribute.
> I hope @Pat takes care of it.
> Geni
>
> Geni schrieb am Sonntag, 17. April 2022 um 12:16:29 UTC+2:
>
>> html tags do not work there, everything the same with or without html 
>> tags.
>>
>> [email protected] schrieb am Samstag, 16. April 2022 um 19:37:36 
>> UTC+2:
>>
>>> I wonder if you try to put html tags within the title/subtitle. can you 
>>> give this a go:
>>>
>>>
>>>         title = '<div class="text-center">Historical Rain Totals By 
>>> Month</div>'
>>>         subtitle = '<div class="text-center">Rain Totals for All Months for 
>>> All Time</div>'
>>>
>>>
>>> On Sat, Apr 16, 2022 at 1:07 PM Geni <[email protected]> wrote:
>>>
>>>> i think it is a bug from highchart
>>>> i use Belchertown Skin Version: 1.3b1 
>>>> here it is also incorrect  
>>>> https://belchertownweather.com/graphs/?graph=raintotals
>>>> [image: belch03.jpg]
>>>>
>>>> [email protected] schrieb am Samstag, 16. April 2022 um 18:36:21 
>>>> UTC+2:
>>>>
>>>>> Geni:
>>>>>
>>>>> Here is the sample that displays the chart appropriately (See Below). 
>>>>> You can find this information in the Charts wiki
>>>>>
>>>>> Belchertown Charts Documentation ยท poblabs/weewx-belchertown Wiki 
>>>>> (github.com) 
>>>>> <https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation#capabilities>
>>>>>
>>>>> If you still need assistance, we are going to need a copy of your 
>>>>> graphs.conf file in the /skins/Belchertown folder of your WeeWx 
>>>>> installation.
>>>>>
>>>>> [raintotals]
>>>>>     title = Rain Totals by Month
>>>>>     show_button = true
>>>>>     button_text = Rain Totals
>>>>>     type = column
>>>>>     time_length = all
>>>>>     aggregate_type = max
>>>>>     aggregate_interval = 86400 # 1 day
>>>>>
>>>>>     [[rainmonthtotals]]
>>>>>         title = Historical Rain Totals By Month
>>>>>         subtitle = Rain Totals for All Months for All Time
>>>>>         xAxis_groupby = month
>>>>>         xAxis_categories = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
>>>>> 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
>>>>>         [[[rainTotal]]]
>>>>>             name = Rain Total
>>>>>
>>>>>
>>>>> On Sat, Apr 16, 2022 at 12:31 PM vince <[email protected]> wrote:
>>>>>
>>>>>> You have to tell us more.  Which version of Belchertown ?   What page 
>>>>>> is that screen image from ?   I don't see any graphs that look like 
>>>>>> that.  
>>>>>> Did you add a custom graphs.conf ?
>>>>>>
>>>>>> On Saturday, April 16, 2022 at 8:19:31 AM UTC-7 Geni wrote:
>>>>>>
>>>>>>> Hi, where and how to center the subtitle to the title
>>>>>>> is
>>>>>>> [image: belch01.jpg]
>>>>>>> should
>>>>>>> [image: belch02.jpg]
>>>>>>> Geni
>>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-user" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/b4c2652a-964a-484a-b821-c06b820a21ban%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/b4c2652a-964a-484a-b821-c06b820a21ban%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-user" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/e993df1a-23c2-4d68-859d-c7350eb0b389n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/e993df1a-23c2-4d68-859d-c7350eb0b389n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f80ecbfb-176f-42c4-9a03-4306a4e2b2c3n%40googlegroups.com.

Reply via email to