New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
themesDir ="../.." causing only a red page to load #2
Comments
This config confuses people, see #2
Hi @Sidra-Kazmi, thank you for getting in touch 😁.
You are right, I'll remove this from the config. (See fdcb6ab ✅) The only reason this configuration is set on the Now to actually solve your problem 😇: If understood your setup correctly, you have generated a hugo site in If that is the case, you can then copy the contents of the TLDR; 🕺🏻From what you said, this is where you then probably got stuck. So just go ahead and remove the Let me know, if this helps 😊. |
Hi, no worries. It looks like you do not have any homepage content on your site. To get started you could copy the Let me know if this helps. PS: This is also explained on the README, see https://github.com/janraasch/hugo-scroll#content--structure. |
Hello Jan, thanks a lot for that tip, my week long hold is finally over and your template is coming so beautifully. I can now update the content and the pics as well. I have 3 questions I am posting in the below screenshot. |
Hi @Sidra-Kazmi
That's great. I'm glad I could help 😸 . I saw that you closed the issue a few hours ago. I think those last three questions are quite different than what you originally started with (subject: »themesDir ="../.." causing only a red page to load 1.
Nothing - I think. Unless you need to add a page separate from the homepage / one-pager. If you do need a separate page you, you could copy over 2. Your questions are all about customizing the styles / CSS. Luckily 😄 somebody else asked about this a week ago. Here #1 (comment) you can read up about how to add a So now the question becomes »Which CSS do you need?« 💯 😆 : 2.1. font color To change the font color on the header add
to your custom CSS. 2.2. change the color of the »down-arrow«-button. Add
to your custom CSS. The shading should not be affected by this change. 2.3. get the description on one-line I'd say that's a pretty tough nut to crack. You need to consider people looking at this on their phones. If you were to make the font so small that this whole text fits on a single line on an iPhone, I don't think anybody would be able to read it. You could try to play around with the
would reset the current configuration of So in conclusion, try adding a
and see where that takes you. Here are some screenshots with that added custom CSS. iPadiPhoneDesktopI hope that helps 😸 . |
Hello @janraasch, thanks for that help worked like a charm. I will open new topic as you suggested. |
Hi there, in the config.toml the themesDir = "../.." seems to be causing confusion or probably I am confused. When I try to test locally, only a red page displays. Also, there is an error when starting the Hugo server
On Windows it says;
Error: module "hugo-scroll" not found; either add it as a Hugo Module or store it in "C:\\".: module does not exist
On Mac it errors out
Error: module "hugo-scroll" not found; either add it as a Hugo Module or store it in "/Users/Amr".: module does not exist
And if I place the Hugo Module which I think is referring to the theme, on the C: drive on Windows and on /Users/Amr on Mac, it doesn't give any error but then there is a blank red page.
I also tried putting in the path where the hugo-scroll theme is placed in my website folder and though there are not errors there is only this blank red page.
themesDir = "C:\\Hugo\\makeyourfuture\\themes\\"
Below is what I have in the config.toml file.
The text was updated successfully, but these errors were encountered: