The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Newbie - Edit template: how to lower the height of the bands?
calmabubbasst
post Jul 20 2022, 02:15 AM
Post #1


Member
***

Group: Members
Posts: 45
Joined: 20-July 22
Member No.: 28,449



Hi everyone, I'm editing a template to suit my needs,
I started from template because I know very little about html and I try to arrange myself as I can,
and I know even less about CSS ... sad.gif

In any case, the point is this:

in this test page https://www.nastri-trasportatori.net/Altrivideo52.html what I would like to achieve is to lower the heights of the bands
"A" "B" "C" and "D"

I searched the whole code and made several tests (as far as I could) but I was unable to understand who is in charge of those heights and how to intervene to reduce them as desired ...

Could you help me?

IPB Image
IPB Image

Tnx ^__^

PS: I am Italian and also my level of English is not very high: please explain to me how to a 4 year old child ;-P
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
calmabubbasst
post Jul 23 2022, 01:24 AM
Post #2


Member
***

Group: Members
Posts: 45
Joined: 20-July 22
Member No.: 28,449



Thanks guys, many thanks smile.gif

You are a river in flood with lots of useful information I can't understand them all well but I'm trying smile.gif

Today I will try to modify also line 1048 and we will see,
in fact, however, if I change the browser the height of the bands changes ...

I would like to ask you 2 more things:

- http or https I activated https some time ago, I thought this was enough, but now I understand that I have to change my web page too, is that correct? It is enough that I change all the links that start from my main page and edit them from
href = "http: //www.myweb.ok/ok.html" to
href = "httpS: //www.myweb.ok/ok.html"
or do I have to do other actions?

- If you look at the main page with a smart phone, and look at the site vertically, you will notice that there is a white vertical band on the right: I think it is the fault of how I entered the video code ...
How can I do to correct this point too, so that everything is aligned and without a white band, only when I use a smart phone in portrait view (while the rest of the time everything remains as it is now)?

IPB Image

Tnx U very very much
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 23 2022, 06:49 PM
Post #3


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(calmabubbasst @ Jul 23 2022, 08:24 AM) *

- http or https I activated https some time ago, I thought this was enough, but now I understand that I have to change my web page too, is that correct? It is enough that I change all the links that start from my main page and edit them from
href = "http: //www.myweb.ok/ok.html" to
href = "httpS: //www.myweb.ok/ok.html"
or do I have to do other actions?

You shouldn't change links to other sites.

In links to pages on your own site you can use relative URLs, like you already do:

CODE
<link href="style.css" rel="stylesheet">

I have no idea why HTTP and HTTPS return different stylesheets. Maybe your webhost can explain it. unsure.gif

QUOTE
- If you look at the main page with a smart phone, and look at the site vertically, you will notice that there is a white vertical band on the right: I think it is the fault of how I entered the video code ...

That seems to be the BODY element's background (which is white by default). For some reason the page section with a gray background becomes more slim than it needs to be in narrow phone screen windows.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
calmabubbasst
post Aug 12 2022, 02:45 AM
Post #4


Member
***

Group: Members
Posts: 45
Joined: 20-July 22
Member No.: 28,449



QUOTE(Christian J @ Jul 23 2022, 06:49 PM) *

I have no idea why HTTP and HTTPS return different stylesheets. Maybe your webhost can explain it. unsure.gif


Hello and thank you very much to both of you,
thanks to your suggestions I was able to create what I wanted almost 100% https://www.nastri-trasportatori.net/Altrivideo53.html

There are still some things to fix and I don't understand how to do it, in fact it seems that http and https are NOT to blame for the height difference of the blanks, in fact

this is the photo taken by the chrome browser from the pc at home
IPB Image
IPB Image

this is the photo taken by the chrome browser from the pc in the office
IPB Image
IPB Image

What could be the final solution? What's i ha to do now in order to fix at 100%?

regarding the other problem of the width of the videos on the other page, I did not understand the solution, I think I will open a new dedicated post: I hope that I will find you to help me there too smile.gif

Indeed, I will open 2 new posts because I have 2 separate questions.

Thank you, see you soon ^__^

This post has been edited by calmabubbasst: Aug 12 2022, 02:49 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 12 2022, 04:59 AM
Post #5


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(calmabubbasst @ Aug 12 2022, 09:45 AM) *

this is the photo taken by the chrome browser from the pc at home
IPB Image
IPB Image

this is the photo taken by the chrome browser from the pc in the office
IPB Image
IPB Image

Maybe the old version is cached in your office browser? Try reloading the page. In some browsers, reloading the HTML file may still not update embedded files (such as stylesheets) though.

Now I checked https://www.nastri-trasportatori.net/style.css directly again, and my Vivaldi browser was still displaying the old version, but after reloading the new version showed up.


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
calmabubbasst
post Aug 13 2022, 03:03 AM
Post #6


Member
***

Group: Members
Posts: 45
Joined: 20-July 22
Member No.: 28,449



QUOTE(Christian J @ Aug 12 2022, 04:59 AM) *

Maybe the old version is cached in your office browser? Try reloading the page. In some browsers, reloading the HTML file may still not update embedded files (such as stylesheets) though.

Now I checked https://www.nastri-trasportatori.net/style.css directly again, and my Vivaldi browser was still displaying the old version, but after reloading the new version showed up.



Hi @Christian J
i'm press F5 every time I chnge a single letters in my html code smile.gif
but that's the result ...

With your browser, what version you could see? The "home" version or "office" version?

This post has been edited by calmabubbasst: Aug 13 2022, 03:04 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 13 2022, 05:43 AM
Post #7


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(calmabubbasst @ Aug 13 2022, 10:03 AM) *

With your browser, what version you could see? The "home" version or "office" version?

I got the Home version.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
calmabubbasst   Newbie - Edit template: how to lower the height of the bands?   Jul 20 2022, 02:15 AM
pandy   It's a complex layout. But I think most of the...   Jul 20 2022, 04:06 AM
calmabubbasst   It's a complex layout. But I think most of th...   Jul 20 2022, 03:37 PM
Christian J   For the bands A/B you may also need to reduce padd...   Jul 20 2022, 04:40 AM
calmabubbasst   For the bands A/B you may also need to reduce pad...   Jul 20 2022, 03:42 PM
calmabubbasst   ...wait wait, it run fine, it's fixed Changin...   Jul 20 2022, 03:54 PM
pandy   What other pages do you mean?   Jul 20 2022, 04:59 PM
calmabubbasst   What other pages do you mean? http://www.nastri...   Jul 21 2022, 12:48 AM
pandy   Are you sure it doesn't affect the other pages...   Jul 21 2022, 07:35 AM
Christian J   https://www.nastri-trasportatori.net/video27.html ...   Jul 21 2022, 04:56 PM
pandy   :wacko: Could one of them be cached? But why wou...   Jul 21 2022, 06:24 PM
Christian J   :wacko: Could one of them be cached? Not by m...   Jul 22 2022, 07:44 AM
pandy   :wacko: Could one of them be cached? Not by ...   Jul 22 2022, 11:42 AM
calmabubbasst   Thanks guys, many thanks :) You are a river in fl...   Jul 23 2022, 01:24 AM
Christian J   - http or https I activated https some time ago, ...   Jul 23 2022, 06:49 PM
pandy   I get different behaviour in different browsers wh...   Jul 24 2022, 05:34 AM
calmabubbasst   I have no idea why HTTP and HTTPS return differen...   Aug 12 2022, 02:45 AM
Christian J   this is the photo taken by the chrome browser fro...   Aug 12 2022, 04:59 AM
calmabubbasst   Maybe the old version is cached in your office br...   Aug 13 2022, 03:03 AM
Christian J   With your browser, what version you could see? Th...   Aug 13 2022, 05:43 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 02:46 AM