Support » Plugin: Gantry 5 Framework » Gantry5 theme not working, fresh install

  • Resolved lucavanon

    (@lucavanon)


    Hello,
    I just installed wordpress, installed the Gantry5 plugin and the hydrogen theme.
    What I obtained is what you see on the page linked.
    Seems that the theme is not able to use Gantry or that Gantry is not finding all the css and other styles files.
    I also tried to install helium, same result.
    Also the admin pages looks broken, with dropdown menu not working and displayed as lists.
    What’s wrong?
    It’s a plain new install, no plugins installed, only Gantry5 and the theme.
    Maybe it’s a problem of my server configuration, I’m running it on LAMP Ubuntu 16.
    Thanks!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Gantry

    (@gantry)

    Hi,

    Sorry for late reply. I can see the error “No menu selected”. Please go to the Theme Settings > Particles Defaults > Menu and select your default menu.

    Thanks,
    Jakub

    Thread Starter lucavanon

    (@lucavanon)

    Hi,
    thanks for your reply, but the “No menu selected” is really not the problem here.
    Do you mean that the only strange thing you see on that page is that message?
    All the page is like plain text as you can see here:
    Gantry5NotOK
    While it should look like this:
    Gantry5OK
    It’s like all the links to the css are broken. No colors, no divs, nothing, just plain text.
    Even on the site of the 2nd link there is no menu, but the rest of the page is rendered as expected.
    The problem is somewhere in the configuration of my Ubuntu server cause the only difference between the first and the second site is that the first is on my Ubuntu server while the second is on a pre configured host service.

    Thread Starter lucavanon

    (@lucavanon)

    Can anyone help me on this?
    I know it’s an old issue but I still can’t make it work.
    Analizing the page source I noticed that all the css links are missing.
    Can anyone take a look at the two links I post before and tell me why the first doesn’t work and the second works?

    Plugin Author Gantry

    (@gantry)

    Can you please check directory permissions for your theme folder? Maybe Gantry isn’t able to generate the CSS files? Are there any errors in the theme admin when you click on the “Recompile CSS” button?

    Thread Starter lucavanon

    (@lucavanon)

    Thanks for the reply.
    I checked permissions on my theme folder, the g5_hydrogen theme was set to 755, I tried 775 but nothing changed after restarting apache service.
    If I try the “Recompile CSS” button it tells me 404 Page not found.
    As you said it seems that Gantry isn’t able to generate CSS files, but I don’t know why.
    Any idea?
    I don’t think it’s a problem of permissions because I have othe themes (not Gantry ones) installed and they look fine having the same folder permissions.

    Thread Starter lucavanon

    (@lucavanon)

    Checking on the other website, the one with the link GantryOK, permissions on the theme folders are the same and the “Recompile CSS” works without errors.
    I don’t know why Gantry5 is not able to find CSS…

    Thread Starter lucavanon

    (@lucavanon)

    I have also checked the source of the page in both sites and notice that the one that is not working is missing all the “stylesheet” links except the wp-admin styles.

    Thread Starter lucavanon

    (@lucavanon)

    A little update: I tried again to reinstall both Gantry5 and the Hydrogen theme, nothing changed.
    I saw on another post that someone has an issue with permission on cache and theme folders, I tried with chmod 775 on both, nothing changed.
    I don’t think it’s a permission issue because it’s not like the theme is not finding the CSS because analysing th source code of the page there is no link to the “missing” CSS. It’s like the links are not even created by gantry framework for some reason.

    Plugin Author Gantry

    (@gantry)

    Can you check if you have a folder wp-content/themes/your-theme/custom/css-compiled ? What are the permissions on that folder?

    • This reply was modified 2 years, 3 months ago by Gantry.
    Thread Starter lucavanon

    (@lucavanon)

    No, in the custom folder there is only a config folder, nothing else.
    Custom folder has 755 permission.
    Should I chmod it to 775?

    Thread Starter lucavanon

    (@lucavanon)

    Just tried it, no luck…

    Plugin Author Gantry

    (@gantry)

    Yes, please chmod custom dir to 775 and also create a css-compiled folder inside of it and also set custom/css-compiled chmod to 775

    • This reply was modified 2 years, 3 months ago by Gantry.
    Thread Starter lucavanon

    (@lucavanon)

    I did it, I created a css-compiled folder and chmod it to 775, restarted the apache service, no changes…

    Plugin Author Gantry

    (@gantry)

    Try clicking on the Recompile CSS button in theme admin too.

    Thread Starter lucavanon

    (@lucavanon)

    Same behaviour like before, 404 Not found error

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Gantry5 theme not working, fresh install’ is closed to new replies.