This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

CSS not loading *help*
#1

I'm having an issue with the CSS of the form not loading. I have a PHP page with just the form code where I want to mess around with the features before future implementation. 
The form loads with no issues yet is void of any css styling.
Any ideas on what I can do to remedy this?

The code is as follows:

Code:
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
session_start();
?>


<!DOCTYPE html>
<head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

<?php
$cmtx_identifier = '1';
$cmtx_reference  = 'Page One';
$cmtx_folder     = '/lifesabeach/comments/';
require($_SERVER['DOCUMENT_ROOT'] . $cmtx_folder . 'frontend/index.php');
?>

</body>
</html>


Attached Files Thumbnail(s)
   
Reply
#2

Hi I think the first thing to check would be to go to your admin area, navigate to the 'Settings -> System' page and make sure that the 'Commentics URL' setting is correct.

If that doesn't work, in your web browser open your developer tools (usually by pressing F12), go to the Network tab, and look at where it's trying to load the stylesheet from. That should provide a clue as to what's happening.

Have you completed the interview?
Reply
#3

Thanks Steven, that was it!

Could you be so kind to help me with one more issue involving CSS?

Based off my uploaded photo, how can I go about centering the:

"Add comment" text at the top.
The "Add comment" button at the bottom
The "Comments, there are no comments be the first" text

Thank you in advance.


Attached Files Thumbnail(s)
   
Reply
#4

Here's the CSS that you'll need:
Code:
.cmtx_form_heading, .cmtx_comments_heading, .cmtx_no_comments {
  display: flex;
  align-items: center;
  justify-content: center;
}

If you want, you can go to Extensions -> Modules, install the CSS Editor, and paste it into the big textarea.

Have you completed the interview?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)