Osclass Support Forums
Osclass plugin support => Blog and News Plugin => Topic started by: jcarrolo01 on October 25, 2020, 09:41:37 PM
-
Hello...
This is related with an problem with Zara 1.4.0
I place the flowing line in header of the theme...
<?php if(function_exists('blg_home_button')) { echo blg_home_button(); } ?>
I expecting a nice button like in your demo in veronika theme :) But no, what i got is a ugly single text "Blog"... After some investigation i realize that in blog/helpers.php i have the following function.
function blg_home_button($text = '') {
if($text == '') {
$text = __('Blog', 'blog');
}
return '<a href="' . blg_home_link() . '" class="blg-button blg-button-home">' . $text . '</a>';
}
There we have a class="blg-button blg-button-home"
But i cant find the css in \blog\css\user.css
Can you please paste here the css code to build the button...
Best Regards
João Carrolo
-
It is identifier for your personal styling.
Considering each theme has different styles, it is best to let you format button instead of hardcoding style.
-
Thanks for clarification...
I will add the format for the button..
Best Regards
João Carrolo
-
@jcarrolo01
Simply copy button style of your theme ;)