Yavor Spassov
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [YS Magazine] Interesting looking themeHi JCCaito7,
Thank you for using my theme. You can change the color of the 4 categories on the front page by inserting this code at the end of the theme’s style.css file:
.front-page h1.category-title { color: red; }
Replace ‘red’ with any color you like.
Forum: Themes and Templates
In reply to: [YS Magazine] Interesting looking themeHi zafarz,
You can add AdSense to any theme you want by going through the steps in this video: https://www.youtube.com/watch?v=p_PniPCm–Y
Alternatively, you can use one of the available plugins from the repository:
https://www.ads-software.com/plugins/tags/adsense-pluginRegards,
YavorForum: Reviews
In reply to: [Blog Fever] Very nice colorThank you for your nice words. If you have any questions regarding the use of my theme, feel free to open a support thread.
Forum: Themes and Templates
In reply to: [GeneratePress] Bulgarian translationI just examined your funcions.php file. In fact you use “generate” instead of “generatepress” as textdomain.
Forum: Themes and Templates
In reply to: [GeneratePress] Bulgarian translationThank you. It works now. The translation loads from the child theme. Now the entire WordPress community will be envious that only I have a Bulgarian translation for your theme. ??
Forum: Themes and Templates
In reply to: [GeneratePress] Bulgarian translationI just sent the files to [email protected].
Forum: Themes and Templates
In reply to: [GeneratePress] Bulgarian translationHi Tom,
I’ve placed the following function into the child theme’s function.php file:
add_action( 'after_setup_theme', 'my_child_theme_setup' ); function my_child_theme_setup() { load_child_theme_textdomain( 'generatepress-child', get_stylesheet_directory() . '/languages' ); }
However, the translation files only load from the parent theme and not from the child. What could be the cause? I have the files bg_BG.mo and bg_BG.po into the child theme’s languages folder.
Forum: Themes and Templates
In reply to: [GeneratePress] Inline css is overriding stylesThis thread is actually for deletion but I don’t have the option to do so.
Forum: Themes and Templates
In reply to: [GeneratePress] Inline css is overriding stylesFixed. My mistake!
Forum: Themes and Templates
In reply to: [GeneratePress] Inline css is overriding stylesThis code work from the stylesheet of the parent theme but not from the stylesheet of the child. I’m still trying to determine why.
Forum: Themes and Templates
In reply to: [GeneratePress] Child theme loses navigationI have no problem with the mobile menu of my child theme based on GP. Obviously, you are doing something wrong.
Forum: Themes and Templates
In reply to: [GeneratePress] Bulgarian translationIs there a way to load the bg_BG.po file from the child theme and not from the parent?
Forum: Themes and Templates
In reply to: [GeneratePress] Spacing between tagline and logoI decided to place the logo on the left side of the title and do this instead:
//Logo and title positioning .site-logo { width: 20%; float: left; } .site-branding { width: 80%; float: right; } @media screen and (max-width:700px) { .site-logo, .site-branding { float: none; width: 100%; } }
Forum: Themes and Templates
In reply to: Theme customizer sanitization@aaron Beverly, after I added your code to the Theme Check plugin it returns the following error:
E:\xampp\htdocs\ys_magazine/wp-content/themes/ys-magazine\functions.php: ‘first_category’ ) E:\xampp\htdocs\ys_magazine/wp-content/themes/ys-magazine\functions.php: ‘second_category’ ) E:\xampp\htdocs\ys_magazine/wp-content/themes/ys-magazine\functions.php: ‘third_category’ ) E:\xampp\htdocs\ys_magazine/wp-content/themes/ys-magazine\functions.php: ‘fourth_category’ )
Do you have any idea what I have to do? Thanks!
Forum: Plugins
In reply to: [Ultimate Product Catalog] Number of products in a lineThank you. I will try it once the time comes for me to use the plugin. ??