BlogX - Help Please
- TA2Web
- Ssr. Bludit
- Posts: 25
- Joined: Fri Sep 06, 2024 9:20 pm
- Location: America
- Has thanked: 1 time
- Contact:
Hello. I have been interested in using the Bludit BlogX theme and have made some adjustments and have called it BS5Blog with the intention of wanting to convert it to the example Bootstrap Blog template provided by Bootstrap.
I have converted it to use my own Bootstrap 5.3 installation as well as using local fontawesome and some other local php variables from my vars file.
I have also included the sharethis plugin to allow for sharing of blog (page.php) posts.
However I am seeing that somethings are not correct. I see that it is still calling Theme:: stuff and I am not sure what I am doing wrong to make the theme work with my own files?
I am only wanting to use the Bludit Blog content and menus while I have custom header and navbar and footer area.
How do I edit the Header sizes within a blog post? Title size (h1) sub title size (h2) etc .. ?
I have converted it to use my own Bootstrap 5.3 installation as well as using local fontawesome and some other local php variables from my vars file.
I have also included the sharethis plugin to allow for sharing of blog (page.php) posts.
However I am seeing that somethings are not correct. I see that it is still calling Theme:: stuff and I am not sure what I am doing wrong to make the theme work with my own files?
I am only wanting to use the Bludit Blog content and menus while I have custom header and navbar and footer area.
How do I edit the Header sizes within a blog post? Title size (h1) sub title size (h2) etc .. ?
-
- Master Bludit
- Posts: 61
- Joined: Thu Jun 08, 2023 3:02 pm
- Location: Sweden
- Has thanked: 15 times
- Been thanked: 17 times
Not sure where the issue(s) is/are, I don't think I recognize them as something I have encountered. But have you taken a look at the bs5simplyblog theme? You may find (some) answers there.
It's available on GitHub here:
https://github.com/joho1968/bludit-bs5simplyblog
It's available on GitHub here:
https://github.com/joho1968/bludit-bs5simplyblog
To edit the header size (H1, H2, etc.), you can update the relevant CSS or modify the HTML directly in the theme template file. adjust the font size in `style.css` or in Bootstrap's custom class.TA2Web wrote: ↑Sun Nov 10, 2024 3:42 pm Hello. I have been interested in using the Bludit BlogX theme and have made some adjustments and have called it BS5Blog with the intention of wanting to convert it to the example Bootstrap Blog template provided by Bootstrap.
I have converted it to use my own Bootstrap 5.3 installation as well as using local fontawesome and some other local php variables from my vars file.
I have also included the sharethis plugin to allow for sharing of blog (page.php) posts.
However I am seeing that somethings are not correct. I see that it is still calling Theme:: sex dolls cheapstuff and I am not sure what I am doing wrong to make the theme work with my own files?
I am only wanting to use the Bludit Blog content and menus while I have custom header and navbar and footer area.
How do I edit the Header sizes within a blog post? Title size (h1) sub title size (h2) etc .. ?
I hope my suggestions will help you? Unfortunately there is not enough information or I could have reproduced the problem
- TA2Web
- Ssr. Bludit
- Posts: 25
- Joined: Fri Sep 06, 2024 9:20 pm
- Location: America
- Has thanked: 1 time
- Contact:
Thank you both for your replies.
As I am trying to use the bootstrap example blog theme I will apparently have to use the example css in the css/style.css file.
This is part of my modified index.php file:
This is my modified head.php file:
This line seems to be looking for some scss file but I am not sure if BlogX theme uses scss?
The source code for that line becomes:
I do know that type="text/css" has been deprecated and is no longer needed to call css. But that's not really important right now.
If I inspect the code with my browser it seems to be looking for scss? I am not trying to work with sass. Thank you for any help. I am not good with working with the inspect element within my browser.
As I am trying to use the bootstrap example blog theme I will apparently have to use the example css in the css/style.css file.
This is part of my modified index.php file:
Code: Select all
<?php include($_SERVER['DOCUMENT_ROOT'] . '/inc/PATH-TO-VARS-FILE.php'); ?>
<!DOCTYPE html>
<html lang="<?php echo Theme::lang() ?>" data-bs-theme="dark">
<head>
<?php include(THEME_DIR_PHP.'head.php'); ?>
</head>
<body class="container">
<?php Theme::plugins('siteBodyBegin'); ?>
<?php include(THEME_DIR_PHP.'navbar.php'); ?>
This is my modified head.php file:
Code: Select all
<meta charset="<?= htmlspecialchars($WEBSITE_META_CHAR) ?>">
<meta name="viewport" content="<?= htmlspecialchars($WEBSITE_META_VIEWPORT) ?>">
<?php echo Theme::metaTags('title'); ?>
<?php echo Theme::metaTags('description'); ?>
<meta name="robots" content="<?= htmlspecialchars($WEBSITE_META_ROBOTS_ALL_ON) ?>">
<meta name="copyright" content="<?= htmlspecialchars($WEBSITE_META_COPYRIGHT) ?>">
<?php Theme::plugins('siteHead'); ?>
<link rel="icon" href="<?= htmlspecialchars($WEBSITE_FAVICON) ?>" type="<?= htmlspecialchars($WEBSITE_FAVICON_TYPE) ?>">
<link rel="apple-touch-icon" href="<?= htmlspecialchars($WEBSITE_APPLETOUCH_ICON) ?>">
<link rel="stylesheet" href="<?= htmlspecialchars($BS_CORE_CSS) ?>">
<?php echo Theme::css('css/style.css'); ?>
<?= $FA_LOCAL ?>
<?= $GA_SCRIPT ?>
<?= $SHARETHIS ?>
Code: Select all
<?php echo Theme::css('css/style.css'); ?>
Code: Select all
<link rel="stylesheet" type="text/css" href="https://ta2web.com/blog/bl-themes/bs5blog/css/style.css?version=3.16.2">
If I inspect the code with my browser it seems to be looking for scss? I am not trying to work with sass. Thank you for any help. I am not good with working with the inspect element within my browser.
-
- Master Bludit
- Posts: 61
- Joined: Thu Jun 08, 2023 3:02 pm
- Location: Sweden
- Has thanked: 15 times
- Been thanked: 17 times
When you say "If I inspect the code with my browser it seems to be looking for scss?", what do you mean? I really don't see how any browser could look for a "source" CSS file unless it's specifically mentioned anywhere ...