1 Attachment(s)
Re: ZCA Bootstrap 4 Template [Support Thread]
Thank you will crack on and take a look but coding is a bit over my head, can just get by with css but just don't need all the links in the info box.
This is an exmaple taken from Amazons uk website of what I want to achieve in the footer. I am just not sure how?
Attachment 20135
Re: ZCA Bootstrap 4 Template [Support Thread]
Until this issue is fixed, you could just delete the code in includes/modules/sideboxes/bootstrap/information.php between lines 25 and 31, i.e.
Code:
if (defined('FILENAME_ABOUT_US')) {
$information[] = '<a class="' . $information_classes . '" href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a>';
}
if (defined('FILENAME_BRANDS')) {
$information[] = '<a class="' . $information_classes . '" href="' . zen_href_link(FILENAME_BRANDS) . '">' . BOX_HEADING_BRANDS . '</a>';
}
Re: ZCA Bootstrap 4 Template [Support Thread]
Thank you, was just looking to do that bit and it shows as set to false so will try your suggestion.
Re: ZCA Bootstrap 4 Template [Support Thread]
@swguy, Thank you, have removed the links in the info box I don't want there.
Also from another thread of mine your answer reminded me how to change the names of the links and the page headers in the info boxes etc so thank you again for that.
I hate asking so many questions but asking and the answers has carried on helping me and will help others who are new to Zencart.
Define pages are nearly done aswell :).
I do not know if this question is for Zencart or the template so will ask it here, how to I change the order of the links in the information box, please do not tell me its complicated! It is getting late here in the UK and I am shattered but need to get the site up and running fairly quickly.
Re: ZCA Bootstrap 4 Template [Support Thread]
The order is dictated by how they appear in
includes/modules/sideboxes/bootstrap/information.php
You can move them around, starting with the
if (something) {
and ending with the
}
Re: ZCA Bootstrap 4 Template [Support Thread]
@swguy thank you. Finally feel as though I am getting there. Still a way to go but now in the right direction :)
Re: ZCA Bootstrap 4 Template [Support Thread]
Please can someone stop me going in circles lol
I am trying to centre the link in the footer bar, have been through everything I can think of in cpanel and the admin of the shopping cart and cannot find what I am looking for.
I need to centre the link in the footer bar please where do I go to do this
Thank you.
Re: ZCA Bootstrap 4 Template [Support Thread]
Just read up on flexbox; to align flexbox items you would need to add "justify-content: center;" to the css
Code:
.nav {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding-left: 0;
margin-bottom: 0;
list-style: none;
justify-content: center;
}
Now, I'm not familiar with this template and do not know whether the .nav class is used elsewhere so, to be on the safe side I would add the following to _nav.scss instead:
Code:
.nav.nav-pills {
justify-content: center;
}
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
simon1066
Now, I'm not familiar with this template and do not know whether the .nav class is used elsewhere so, to be on the safe side I would add the following to _nav.scss instead:
Code:
.nav.nav-pills {
justify-content: center;
}
This is not incorrect but....
Bootstrap 4 comes with a file in includes/templates/YOUR_TEMPLATE/css/dist-site_specific_styles.php. Making your changes to this file and saving it as includes/templates/YOUR_TEMPLATE/css/site_specific_styles.php is the recommended way to keep all your changes together for when you need them.
@Angiex1 - in your case, YOUR_TEMPLATE is bootstrap. I would also recommend that you use lat9's clone a template to clone the bootstrap to something else you like. This will keep the original bootstrap "clean" and able to be used in troubleshooting.
Re: ZCA Bootstrap 4 Template [Support Thread]
Quote:
Originally Posted by
dbltoe
This is not incorrect but....
Bootstrap 4 comes with a file in includes/templates/YOUR_TEMPLATE/css/dist-site_specific_styles.php. Making your changes to this file and saving it as includes/templates/YOUR_TEMPLATE/css/site_specific_styles.php is the recommended way to keep all your changes together for when you need them.
Thanks @dbltoe, that's good to know.