Hi again,
Also you need to make sure that in your captive portal profile that the
layount.html file is actually loading the correct styles.css file.
I moved all my custom CSS files into a new folder (/common/cssfiles/) and then
tweak the layout.html file accordingly:-
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/common/cssfiles/FXPStyles.css" media="screen" rel="stylesheet"
type="text/css" />
<script src="/common/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="/common/pf.js" type="text/javascript"></script>
<script src="/content/captiveportal.js" type="text/javascript"></script>
<title>[% IF title.defined ; i18n(title) ; ELSE ; i18n("PacketFence
Registration system") ; END %]</title>
</head>
Good luck
Andrew
From: Mullo . via PacketFence-users <[email protected]>
Sent: 16 April 2019 05:44
To: [email protected]
Cc: Mullo . <[email protected]>
Subject: [PacketFence-users] PF Color Scheme
Hello,
Hoping someone could shed some light on changing color schemes.
Packetfence version: 8.3.0
I’m attempting to change the color of the background for the buttons presented
via the ‘content-with-choice.html’ page. I’ve edited the
‘_settings.colors.scss’ to reflect the correct color codes in ‘Secondary
button’ section and run ‘grunt dist’ to publish, which completes successfully.
It seems as those the changes made to the ‘_settings.colors.scss’ are not being
bought into the generated styles.css after running grunt. Is there something
I’m missing in this process? I’ve even changed the color directly in the
generated style.css to see if it would be reflected on the portal but continues
to be the default blue.
Any help would be appreciated.
Thanks,
Steven
Andrew Torry
Senior Infrastructure Engineer
Tel: 01326 370760
Email: [email protected]
[cid:[email protected]]
[Falmouth Exeter Plus]
[cid:[email protected]]
[Twitter] <https://twitter.com/falmouthexeter> [Facebook]
<https://www.facebook.com/falmouthexeter> [Instagram]
<https://www.instagram.com/falmouthexeterplus/> [YouTube]
<https://www.youtube.com/channel/UC5-Jq4vTOhWgYoJJDYrZHWw>
[cid:[email protected]]
[Falmouth University]
Falmouth Exeter Plus is an exempt charity established by Falmouth University
and the University of Exeter to deliver their shared Higher Education services
in Cornwall.
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users