themefisher / meghna-hugo

Meghna Hugo is a responsive, minimalist, lightweight, and fast loading one-page business theme built with HTML5/CSS3, Hugo, JavaScript, and JQuery.
https://gethugothemes.com/products/meghna/?utm_source=meghna_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
441 stars 1.23k forks source link

Struggling with Meghna #179

Closed romaindivozzo closed 2 years ago

romaindivozzo commented 2 years ago

Hi,

I've been fighting with the Meghna-hugo theme (a lot...and...too much). It always works locally but never works when I deploy it on Gitlab...css is always broken or the theme is not recognized and should be added as a submodule (which I have done but the css would never update on the static-pages after this).

I've searched every forum, read every discussions, I am still stuck (not a web dev though but I usually end-up making things work).

I want to use it without using Netlify or Forestree. Not interested by the CMS part.

Would you know where I could check the directory of a working static page with Meghna as a theme and that is working without netlify and forestree ?

That would help a lot,

Thanks !

tfsomrat commented 2 years ago

Hello @romaindivozzo

Thanks for choosing our theme. You need to update your baseURL in config.toml file. If your site domain is https://example.gitlab.io, then use this URL in your baseURL field. then deploy it again. it will work.

romaindivozzo commented 2 years ago

Thanks a lot @tfsomrat, it worked when I added the new BaseURL as you said. Changes I make in the config.toml file that's inside the root directory work.

Now, when I want to modify the style.css from the meghna-hugo submodule (it is under themes in the root directory), through the Terminal, Github keeps asking me for some credentials. And more problems after that.

For now I am just changing the background color (to #63003c). When I put my webpage in full screen I can see the #63003c background color for a seconde but it doesn't show on the page. It is hiding somewhere behind :

Screenshot 2021-11-30 at 11 05 58

I really wish I could customize this website.

Tips and tricks welcome !

tfsomrat commented 2 years ago

Hey @romaindivozzo

That's great news. I actually don't know why this is happening, until I see the code. We can give support for theme customization [paid]. If you want, you can contact us at mehedi@themefisher.com. thank you