Osclass Support Forums
Osclass plugin support => Business Profile Plugin => Topic started by: tassonfl on July 01, 2022, 01:09:46 PM
-
In the mobile menu, the link of the company profile is missing.
Thank you
-
@tassonfl
Mobile menu of what?
-
On the mobile phone, the link to modify or activate the business profile is not there.
It is visible only on the desktop
-
@tassonfl
You still did not mention which theme are you talking about
-
Sorry, Epsilon
-
I can see that in code.
<?php if(function_exists('bpr_companies_url')) { ?>
<a class="company" href="<?php echo bpr_companies_url(); ?>">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 128h-80V80c0-26.51-21.49-48-48-48H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zM176 80h160v48H176V80zM54 176h404c3.31 0 6 2.69 6 6v74H48v-74c0-3.31 2.69-6 6-6zm404 256H54c-3.31 0-6-2.69-6-6V304h144v24c0 13.25 10.75 24 24 24h80c13.25 0 24-10.75 24-24v-24h144v122c0 3.31-2.69 6-6 6z"/></svg>
<?php _e('Companies', 'epsilon'); ?>
</a>
<?php } ?>
-
Yes but miss link
user/business-profile
It is not on the mobile menu.
It is only seen in the desktop version
-
Thatnks for feedback, will review it
-
Yes but miss link
user/business-profile
It is not on the mobile menu.
It is only seen in the desktop version
<a href="https://yourdomainname.com/user/business-profile" class="opt_bpr_profile">
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M272 288h-64C163.8 288 128 323.8 128 368C128 376.8 135.2 384 144 384h192c8.836 0 16-7.164 16-16C352 323.8 316.2 288 272 288zM240 256c35.35 0 64-28.65 64-64s-28.65-64-64-64c-35.34 0-64 28.65-64 64S204.7 256 240 256zM496 320H480v96h16c8.836 0 16-7.164 16-16v-64C512 327.2 504.8 320 496 320zM496 64H480v96h16C504.8 160 512 152.8 512 144v-64C512 71.16 504.8 64 496 64zM496 192H480v96h16C504.8 288 512 280.8 512 272v-64C512 199.2 504.8 192 496 192zM384 0H96C60.65 0 32 28.65 32 64v384c0 35.35 28.65 64 64 64h288c35.35 0 64-28.65 64-64V64C448 28.65 419.3 0 384 0zM400 448c0 8.836-7.164 16-16 16H96c-8.836 0-16-7.164-16-16V64c0-8.838 7.164-16 16-16h288c8.836 0 16 7.162 16 16V448z"/></svg>
<?php _e('Business profile', 'epsilon'); ?>
</a>
Enter the above code in your theme footer.php file at right place.
I placed it just between My Profile and Favorites as shown in the attached image.
Also change the svg as per your requirement.
-
Thank you very much
-
And for theme delta? 😬