links in footer

Post Reply
User avatar
fedotov
Posts: 5
Joined: 16 Oct 2016, 11:51
Location: Riga

09 Jan 2021, 14:02

I put something like this to the footer:

Code: Select all

                <span>COMPANY</span>
                <ul>
                    <li><p:link outcome="/empty">About</p:link></li>
                    <li><p:link outcome="/empty">Contact us</p:link></li>
                </ul>
Now the font's colour of these links is white. I had to change sass/layout/_footer.scss by adding

Code: Select all

            a {
                color: $textSecondaryColor;
                &:hover {
                    color: $textColor;
                }
            }
to make the items visible.
I don't think it is a great idea, as I will have huge pain updating to newer version one day... How to do this in better way? Or this must be fixed in next versions of the template?

siris
Posts: 68
Joined: 29 Jul 2019, 13:57

14 Jan 2021, 12:17

Hi,

Please use "/src/main/webapp/resources/sass/overrides/" folder for your overrides. If you add your changes in these files, your migration will be easy in future updates.

Best regards

Post Reply

Return to “Rain - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest