-
Posted in : Interioz
-
hey guys, do you know why when I scroll down to whatever ID anchor like in the private content link, the site scrolls always a bit too much down?
basically it should be scrolling to a total value which should equal to (anchor position + menu bar height in pixel) don’t you think?
pls see this:
https://d.pr/i/m5sLYEThanks
MarcoHi,
I tried to login your website but i have got this error message;
Hai inserito un nome utente o password non validi.
Thanksare you sure you are following the instructions as per the private content area below? please see the video recording, proofing they are actually correct… :)
thanks
Hi,
The plesk screen opens with the ip address you gave me. It is much different than the screen you added as a video. A screen called Plesk Obsidian appears and when I type the username and password there, it gives an error. It would be more comfortable if you create direct wp admin login information.
ThanksLet me share with you something that might help you.
Can you please follow the below instruction on your machine, so that you can then access the site?
Again, the site is in dev mode, on the new hosting, so it should be pretty basic / simple: just add the two lines below to your hosts, and try the login.
:/ it should be definitely straightforward.
If still it doesn’t work I can support you but again, I believe it’s definitely not the first time you face a situation like this from a dev :)
Thank you please let me know how it goes
_________________________
ARE YOU ON WINDOWS?
_________________________
To edit the hosts file in Windows, you need to open Notepad as an administrator, navigate to the hosts file location (C:\Windows\System32\Drivers\etc), and then make the desired changes. You can then save the file with your changes.
Here’s a more detailed breakdown:
1. Open Notepad as Administrator:
Search for “Notepad” in the Start Menu.
Right-click on “Notepad” and select “Run as administrator”.
2. Locate and Open the Hosts File:
In Notepad, go to “File” > “Open”.
Navigate to the following directory: C:\Windows\System32\Drivers\etc.
In the “Open” dialog, select “All Files” to see the hosts file.
Select the “hosts” file and click “Open”.
3. Edit the Hosts File:
Add or modify entries in the hosts file.
Each entry should be in the format: IP address hostname.
You can add comments using the “#” symbol.
4. Save the Changes:
Go to “File” > “Save” or use Ctrl+S.
Notepad will save the changes automatically, overwriting the existing hosts file._________________________
ARE YOU ON MACOSX?
_________________________To edit the hosts file on a Mac, open Terminal, use the command sudo nano /private/etc/hosts (or sudo nano /etc/hosts on newer macOS), enter your administrator password, and then make your changes. Save the changes by pressing Ctrl+O, then Enter, and exit the editor with Ctrl+X.
Detailed Steps:
1. Open Terminal:
You can find Terminal in the Utilities folder within the Applications directory, or search for it using Spotlight.
2. Open the Hosts File:
Type the command sudo nano /private/etc/hosts (or sudo nano /etc/hosts on newer macOS) into the Terminal window and press Enter. You’ll be prompted for your administrator password.
3. Edit the Hosts File:
The Nano editor will open the hosts file. You can add or modify lines to map IP addresses to domain names. For example, to redirect http://www.example.com to the IP address 1.2.3.4, you would add a line like this: 1.2.3.4 http://www.example.com.
4. Save the Changes:
Press Ctrl+O in the Nano editor to save the file. You’ll be asked to confirm the filename, which is usually /private/etc/hosts (or /etc/hosts). Press Enter to accept it.
5. Exit the Editor:
Press Ctrl+X to exit the Nano editor.Hi,
I will forward this topic to our developer and i will keep you updated.
ThanksHi, ideally it should be scrolling to a total value which should be equal to (anchor position + menu bar height in pixels but unfortunately the browser’s default scroll to anchor functionality doesn’t work that way. Here is a workaround: you can add padding top to the containers so that the header will not overlap the section title.
Cheers.
You can close this one, chatGPT helped me proposing a great solution (I’m pasting it here, just in case somebody needs it).
There is a CSS function that can help you scrolldown to section + offset in pixels
#sectionYouNeedToLink {
scroll-margin-top: 91px;
}@media (max-width: 768px) {
#about {
scroll-margin-top: 50px;
}
}
You must be logged in and have valid license to reply to this topic.