Hello from Australia :-)
I need some direction please as a menu item is not linked and I need some basic support on formatting Jewellery Information.
www.redraglyn.com
I have tried to fix the first issue myself by...
I added into the menu a new item REGISTER by editing the menu.twig
<div class="static-menu">
<ul id="static-menu">
<li><a href="{{ home }}">{{ name }}</a></li>
<li><a href="{{ login }}">{{ text_login }}</a></li>
<li><a href="{{ register }}">{{ text_register }}</a></li>
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
</ul>
</div>
I added into menu.php
$_['text_register'] = 'Register';
But, unlike the other menu items, the Register is not linked .
May someone please advise me what file/s I need to edit
As for the formatting, I wish the Jewellery Information to look like/match the Information section in the footer. I presume this is pretty basic for you guys, but as the list is using a Font Awesome as a bullet, I can't get it right and would appreciate being shown how to do this so i know how for the future. I used the testimonial html content as kind of a template as I needed the box/heading to look the same/match.
Currently, it looks like this...
<div class="testimonial-cms">
<div class="testimonials" id="testimonial">
<div class="box-heading">Jewellery Information</div>
<div class="homepage-testimonial-inner box-content">
<div class="testimonial_inner">
<div class="homepage-testimonials-inner products block_content" align="left">
<ul class="list-unstyled">
<li>About Our Silver</li>
<li>Silver Care and Cleaning</li>
<li>Ring Size Guide</li></ul>
</div>
</div></div></div></div>
Thank you and I look forward to hearing and learning from you.
Brontè :-)
I need some direction please as a menu item is not linked and I need some basic support on formatting Jewellery Information.
www.redraglyn.com
I have tried to fix the first issue myself by...
I added into the menu a new item REGISTER by editing the menu.twig
<div class="static-menu">
<ul id="static-menu">
<li><a href="{{ home }}">{{ name }}</a></li>
<li><a href="{{ login }}">{{ text_login }}</a></li>
<li><a href="{{ register }}">{{ text_register }}</a></li>
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
</ul>
</div>
I added into menu.php
$_['text_register'] = 'Register';
But, unlike the other menu items, the Register is not linked .
May someone please advise me what file/s I need to edit
As for the formatting, I wish the Jewellery Information to look like/match the Information section in the footer. I presume this is pretty basic for you guys, but as the list is using a Font Awesome as a bullet, I can't get it right and would appreciate being shown how to do this so i know how for the future. I used the testimonial html content as kind of a template as I needed the box/heading to look the same/match.
Currently, it looks like this...
<div class="testimonial-cms">
<div class="testimonials" id="testimonial">
<div class="box-heading">Jewellery Information</div>
<div class="homepage-testimonial-inner box-content">
<div class="testimonial_inner">
<div class="homepage-testimonials-inner products block_content" align="left">
<ul class="list-unstyled">
<li>About Our Silver</li>
<li>Silver Care and Cleaning</li>
<li>Ring Size Guide</li></ul>
</div>
</div></div></div></div>
Thank you and I look forward to hearing and learning from you.
Brontè :-)
Last edited by bronts on Sun May 27, 2018 6:24 am, edited 1 time in total.
That theme doesn`t have some menu builder module?
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Try to clear SASS cache and theme cache.
LE. Is weird how login work and register not.
Check errors logs to see if tell something about register..from menu...not definited or...something else.
Theme is not free to test myself.
For information on left, try to use footer code
LE. Is weird how login work and register not.
Check errors logs to see if tell something about register..from menu...not definited or...something else.
Theme is not free to test myself.
For information on left, try to use footer code
Code: Select all
<div class="row">
{% if informations %}
<div class="col-sm-3">
<h5>{{ text_information }}</h5>
<ul class="list-unstyled">
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
If you already have this in your menu.twig template and have defined the language for text_register.
Code: Select all
<li><a href="{{ register }}">{{ text_register }}</a></li>
catalog/controller/common/menu.php
find
Code: Select all
$data['categories'] = array();
Code: Select all
$data['register'] = $this->url->link('account/register', '', true);
$data['categories'] = array();
This is a custom theme so really only the theme developer can provide insight.
Untested, Backup, try at your own risk.
Backup and learn how to recover before you make any changes!
That worked *happy dance*
Thank you so much!!
Now on to the formatting issue :-) and then hopefully i can get moving.
I tried to edit this (see below - I think this is what formats the information list in the footer) and then add it in to the testimonial (I used that as a kinda template as I needed the box/heading to look the same/match) part in the stylesheet but it totally messed up other things, so I guess i need to format it in the html content/twig (see code in first post)
Thank you so much!!
Now on to the formatting issue :-) and then hopefully i can get moving.
I tried to edit this (see below - I think this is what formats the information list in the footer) and then add it in to the testimonial (I used that as a kinda template as I needed the box/heading to look the same/match) part in the stylesheet but it totally messed up other things, so I guess i need to format it in the html content/twig (see code in first post)
Code: Select all
.col-sm-3.column ul.list-unstyled li a::before{ font-family:"FontAwesome"; content:"\f0da"; padding-right:12px; color:#ababab;}
.col-sm-3.column ul.list-unstyled li a:hover::before{ color:#808080;}
Try this
Code: Select all
<div class="testimonial-cms">
<div class="testimonials" id="testimonial">
<div class="box-heading">Jewellery Information</div>
<div class="homepage-testimonial-inner box-content">
<div class="testimonial_inner">
{% if informations %}
<div class="homepage-testimonials-inner products block_content" align="left">
<ul class="list-unstyled">
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
</div>
</div>
</div>
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Yep...need to add code in controller of theme..on that location.
Code: Select all
$this->load->model('catalog/information');
$data['informations'] = array();
foreach ($this->model_catalog_information->getInformations() as $result) {
if ($result['bottom']) {
$data['informations'][] = array(
'title' => $result['title'],
'href' => $this->url->link('information/information', 'information_id=' . $result['information_id'])
);
}
}
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
What exactly are you trying to do? Remove the arrows from footer list?bronts wrote: ↑Sun May 20, 2018 7:11 amCode: Select all
.col-sm-3.column ul.list-unstyled li a::before{ font-family:"FontAwesome"; content:"\f0da"; padding-right:12px; color:#ababab;} .col-sm-3.column ul.list-unstyled li a:hover::before{ color:#808080;}

Backup and learn how to recover before you make any changes!
What I am trying to do is have the actual list that is in the Jewellery Information left sidebar formatted to look like/match the Information list in the footer. (ie: have the font awesome bullets and spacing the same).
As I am a newbie, I managed to get the box and heading the same as the testimonials so it matches, now i just need the list to look the same as the one in the footer.
To get the jewellery information box to look the same, i took some code from the testimonial html content and it currently, it looks like this...
To work on the list, I presume i need to add in/edit the code to include this...
As I don't fully understand what I am doing, my attempts have not been successful, with the majority messing up the actual information section in the footer too (as i presume the code I have in the jewellery section follows the same css rules)
As I am a newbie, I managed to get the box and heading the same as the testimonials so it matches, now i just need the list to look the same as the one in the footer.
To get the jewellery information box to look the same, i took some code from the testimonial html content and it currently, it looks like this...
Code: Select all
<div class="testimonial-cms">
<div class="testimonials" id="testimonial">
<div class="box-heading">Jewellery Information</div>
<div class="homepage-testimonial-inner box-content">
<div class="testimonial_inner">
<div class="homepage-testimonials-inner products block_content" align="left">
<ul class="list-unstyled">
<li>About Our Silver</li>
<li>Silver Care and Cleaning</li>
<li>Ring Size Guide</li></ul>
</div>
</div></div></div></div>
Code: Select all
[ul.list-unstyled li a::before{ font-family:"FontAwesome"; content:"\f0da"; padding-right:12px; color:#ababab;}
.col-sm-3.column ul.list-unstyled li a:hover::before{ color:#808080;}
The formatting issue is now fixed.
xxvirusxx added in the font awesome bullets and I edited the html contents to... Not sure if what I did is correct, but it works.
Thank you everyone for your help and advice.
xxvirusxx added in the font awesome bullets and I edited the html contents to...
Code: Select all
<div class="left-sidebar-cms">
<div class="box-heading">Jewellery Information</div>
<div class="testimonial_inner" style="border: 2px solid #efefef;
border-top: none padding: 30px 15px 15px; background: #fff;">
<div class="left-sidebar">
<ul class="list-unstyled" style="padding: 30px 15px 15px">
<li><a href="#">About Our Silver</a></li>
<li><a href="#">Silver Care and Cleaning</a></li>
<li><a href="#">Ring Size Guide</a></li>
</ul>
</div>
</div>
</div>
Thank you everyone for your help and advice.
Also I have added this code in css

Code: Select all
.left-sidebar ul.list-unstyled li a::before{ font-family:"FontAwesome"; content:"\f0da"; padding:5px 12px 10px; line-height:22px; color:#ababab;}
.left-sidebar-cms {
float: left;
/*text-align: center;*/
width: 100%;
margin-bottom:24px;
}
.left-sidebar-cms .box-heading {
background: #e4e4e4 none repeat scroll 0 0;
padding: 11px 13px;
font-size: 15px;
color: #242424;
font-weight:700;
line-height:18px;
text-transform:uppercase;
text-align:left;
}
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: ggrant3 and 22 guests