New Zenner
- Join Date:
- Apr 2022
- Location:
- United Kingdon
- Posts:
- 94
- Plugin Contributions:
- 0
ZCA Bootstrap 4 Template [Support Thread]
I'm just about to clone Bootstrap but what do I put here "Target Template: " ?
Views: 542,522
New Zenner
I'm just about to clone Bootstrap but what do I put here "Target Template: " ?
New Zenner
I've found it and realised should be in the right support thread
New Zenner
Hi, I have tried everywhere to make these changes and cant figure it out, details in sig.
Have attached a picture as easier for me to explain.
No 1 I want to add -Register after login link so it reads log in - register I also want the shopping cart up there and not as a side box.
No 2 I want to centre the logo, have followed the docs section but have managed to change it but cannot centre it.
No 3 I want to remove this bar and the home link etc completely. I can change the colours but it isnt needed for me.
Any directions would be great
Thank you
Administrator
Angiex1:
Hi, I have tried everywhere to make these changes and cant figure it out, details in sig.
Have attached a picture as easier for me to explain.
No 1 I want to add -Register after login link so it reads log in - register I also want the shopping cart up there and not as a side box.
No 2 I want to centre the logo, have followed the docs section but have managed to change it but cannot centre it.
No 3 I want to remove this bar and the home link etc completely. I can change the colours but it isnt needed for me.Any directions would be great
Thank you
?>
<div id="indexDefault-defineContent" class="defineContent"><?php require($define_page); ?></div>
<?php } ?>
to
?>
<div id="indexDefault-defineContent" class="defineContent[B] text-center[/B]"><?php require($define_page); ?></div>
<?php } ?>
New Zenner
Thank you Lat9,
Number 1 worked and number 3, but number 2 centred the picture and not the logo.
For number 3 I want to remove it as the home page link is there at the top, there is a page title already and on my screen thats in great big black letters its just really busy.
Would you have any idea why the logo won't centre?
Administrator
To center that logo, you'll need to edit /includes/templates/clone/common/tpl_header.php, changing this block
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo" class="row align-items-center p-3">
<?php if (HEADER_SALES_TEXT != '') {
echo '<div class="col-sm-4">';
} else {
echo '<div class="col-sm-12">';
}
?>
<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT) . '</a><br>'; ?>
</div>
to read
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo" class="row align-items-center p-3">
<?php if (HEADER_SALES_TEXT != '') {
echo '<div class="[B]text-center w-100[/B]">';
} else {
echo '<div class="col-sm-12">';
}
?>
<?php echo '<a[B] class="d-block"[/B] href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT) . '</a><br>'; ?>
</div>
Be sure to make a backup copy prior to changes!
New Zenner
Thank you that has worked :)
It is alot of years since have done any of this and Bootstrap is totally new to me so thank you for your patience. I love how it is easier to alter the template, but some things just loose me so there may be well be, well probably will be a few more questions
Administrator
Angiex1:
Thank you that has worked :)
It is alot of years since have done any of this and Bootstrap is totally new to me so thank you for your patience. I love how it is easier to alter the template, but some things just loose me so there may be well be, well probably will be a few more questions
Excellent!:smile:
Questions are what the support-threads are all about.
New Zenner
Administrator
Angiex1:
Thank you.
I know I can change all the text colour on my site via bootstrap but I want to leave the text as is apart from the page headers which I want to change the colour of but cannot find where
If you're using v3.3.0 or later of the template, you can use the site-specific-styles added in that version. See the template's FAQ (https://github.com/lat9/ZCA-Bootstrap-Template/blob/v300/pages/faqs.md) page for more information.
New Zenner
Thank you will give that a go, will that change all the headers on all pages?
New Zenner
Hmmmm thought I hadnt replied, edited so as not to repeat!
Administrator
Angiex1:
Thank you will give that a go, will that change all the headers on all pages?
If you're referring to the styling of all <h1> tags ... yes.
New Zenner
thank you.
Administrator
I've just submitted v1.0.4 of the companion integration between the Bootstrap 4 Template and One-Page Checkout; I'll post back here when it's available for download.
This release corrects the number of parameters supplied to zen_prepare_country_zones_pull_down (see issue #8).
Zen Cart download link: https://www.zen-cart.com/downloads.php?do=file&id=2305
Administrator
lat9:
I've just submitted v1.0.4 of the companion integration between the Bootstrap 4 Template and One-Page Checkout; I'll post back here when it's available for download.
This release corrects the number of parameters supplied to zen_prepare_country_zones_pull_down (see issue #8).
Zen Cart download link: https://www.zen-cart.com/downloads.php?do=file&id=2305
Now available for download.
New Zenner
I have another couple of questions, upto date info in my sig.
I have screen shot where the changes I want to make are and numbered them
1 How do I change the colour of the line going round the categories links?
2 How do I change the wording from "New? Please provide your billing information"
Thank you.
Totally Zenned
I will let others talk about how to change the color of the box (I am sure its in a CSS file somewhere unless they linked it to an admin setting)
As for the text... in your admin, go to the Developer's toolkit and search for that phrase. That will tell you which file has the text string. This could need to be repeated if you use multiple languages.
New Zenner
Thank you will go look there as have spent days looking in my filess in file manager with no luck. Have tried going through the colours on ZCA Bootstrap Colors and cant find how to do the colour change.
New Zenner
g2ktcf Thank you that worked for number 2 will look at the toolkit in future as totally forgot about that.
Fields marked required must be completed.
Tell staff why this post should be reviewed.