sara etemad
Forum Replies Created
-
Thank you for this question but I have a general question that “quantity” word is not entered for all the default WordPress templates.
okay sorry, i did not know that it is against the rules.
It was because of this person is great and always guided me properly.Hi Dear Author
Before I install this plugin, the gallery images was opended in the new window But this now, the images are not open in a new window.i want to open gallery images in new windows so the user can see images in a larger size and user touch the buttons (before and next) to see his images. ( The pre-installed plugin was working properly.)
can you help me pleseeee?
Forum: Themes and Templates
In reply to: free shippingHI @masterjuan
thank you very much. i will try it and i reply the result to you.- This reply was modified 8 years, 3 months ago by sara etemad.
Forum: Themes and Templates
In reply to: free shippingHi @crouchingbruin
thank you very much for your guidance.Forum: Themes and Templates
In reply to: Confusion About Child Themesplease help me again if it possible for you.
I wrote new question in this topic: https://www.ads-software.com/support/topic/free-shipping/
can you help me pleaseee?
well done
thank you very muchoh i add this code in header.php file
<script src=”https://use.fontawesome.com/ad524ae67d.js”></script>
and it fixed.
thankkkkkkkkkk you soooo muchHi @crouchingbruin
Thank you for you help. i used your code but telegram font awesome does not display.
i read the section of font awesome in this instruction:
https://www.proteusthemes.com/docs/webmarket/
but I do not know where I add this shortcode for telegram: [font_awesome icon=”fa-paper-plane”]I checked main.css and bootstrap.css in parent theme and i saw it for example: instagram font awesome
in the main.css:
.zocial-instagram:before { content: “\00DC”; }in the bootstrap.css:
.fa-instagram:before { content: “?…-”; }I think that something like Instagram in the bootstrap.css should be added to your code.
I will be very grateful if you help me.Forum: Themes and Templates
In reply to: Confusion About Child ThemesHi @crouchingbruin
I need your help again.
I wrote new question in this topic: https://www.ads-software.com/support/topic/how-to-i-add-new-font-awesome-icon-to-social-media-icons-in-my-site/can you help me pleaseee?
- This reply was modified 8 years, 4 months ago by sara etemad.
Forum: Themes and Templates
In reply to: Confusion About Child ThemesThank you for your best explanation.
base on your explanation i understand rtl.css file (parent and child) as well as style.css do not load in view source page.
because of this i insert this line my child theme functions.php:
wp_enqueue_style( ‘rtl’, get_template_directory_uri() . ‘/rtl.css’ );before than this line:
wp_enqueue_style( ‘child-style-rtl’,
get_stylesheet_directory_uri() . ‘/rtl.css’,
array(‘rtl’)
);
in child theme functions.php file.i read your description of wp_queue_style() parameters, i write my conception from your explanation in the below. please check it is a true or not?
1-we do not use get_template_directory_uri() in child theme functions.php for calling parent main.css and parent bootstrap.css and we said that parent main.css itself is called by parent theme and we called only child main.css by get_stylesheet_directory_uri() that is true?
—————————————————————————————————-
2-But for child style.css and child rtl.css we should call parent style.css and parent rtl.css by get_template_directory_uri() function and then calling child style.css and child rtl.css by get_stylesheet_directory_uri() function.—————————————————————————————————-
I guess this difference reason between 1 and 2 is in the parent theme functions.php do not use get_template_directory_uri() function for calling style.css and rtl.css but in the parent theme functions.php used from get_template_directory_uri() function for calling main.css and bootstrap.css
that is true?Thank you veryyy much
- This reply was modified 8 years, 5 months ago by sara etemad.
- This reply was modified 8 years, 5 months ago by sara etemad.
Forum: Themes and Templates
In reply to: Confusion About Child ThemesHi Dear Crouchingbruin
Thank you for your attention.
i have changed the functions.php codes as like this:
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {wp_enqueue_style( ‘child-style-main’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/main.css’,
array(‘main’)
);wp_enqueue_style( ‘child-style-bootstrap’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/bootstrap.css’,
array(‘bootstrap’)
);wp_enqueue_style( ‘child-style-rtl’,
get_stylesheet_directory_uri() . ‘/rtl.css’,
array(‘rtl’)
);wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);}
Can you explain that why use this code:
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
despite in other css files you recommend that dont use parent theme.Also i really surprised that you understand my style.css file doesnt load!
if it possible tell me how can you understand this.This custom CSS plugin exist in my theme when i installed the parent template and i dont use it.
Thank you again for your help.
Forum: Themes and Templates
In reply to: Confusion About Child ThemesThank you veryyyyyyyyyy much.my problem solved. got bless you.
finally my functins.php code is:add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘child-style-main’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/main.css’,
array(‘main’)
);wp_enqueue_style( ‘child-style-bootstrap’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/bootstrap.css’,
array(‘bootstrap’)
);wp_enqueue_style( ‘child-style-rtl’,
get_stylesheet_directory_uri() . ‘/rtl.css’,
array(‘rtl’)
);wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘style’)
);
}Forum: Themes and Templates
In reply to: Confusion About Child Themes<?php
first thank you veryyy much for spend times to answer my problem.
my functions.php code was the first time you check my website :add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {wp_enqueue_style( ‘parent-style-main’, get_template_directory_uri() . ‘/assets/stylesheets/main.css’ );
wp_enqueue_style( ‘child-style-main’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/main.css’,
array(‘parent-style-main’)
);wp_enqueue_style( ‘parent-style-bootstrap’, get_template_directory_uri() . ‘/assets/stylesheets/bootstrap.css’ );
wp_enqueue_style( ‘child-style-bootstrap’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/bootstrap.css’,
array(‘parent-style-bootstrap’)
);wp_enqueue_style( ‘parent-style-rtl’, get_template_directory_uri() . ‘/rtl.css’ );
wp_enqueue_style( ‘child-style-rtl’,
get_stylesheet_directory_uri() . ‘/rtl.css’,
array(‘parent-style-rtl’)
);wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}after i read your recommendation i change it to this:
first time this:
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {wp_enqueue_style( ‘child-style-main’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/main.css’,
array(‘parent-style-main’)
);wp_enqueue_style( ‘child-style-bootstrap’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/bootstrap.css’,
array(‘parent-style-bootstrap’)
);wp_enqueue_style( ‘child-style-rtl’,
get_stylesheet_directory_uri() . ‘/rtl.css’,
array(‘parent-style-rtl’)
);wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);wp_enqueue_style( ‘parent-style-main’, get_template_directory_uri() . ‘/assets/stylesheets/main.css’ );
wp_enqueue_style( ‘parent-style-bootstrap’, get_template_directory_uri() . ‘/assets/stylesheets/bootstrap.css’ );
wp_enqueue_style( ‘parent-style-rtl’, get_template_directory_uri() . ‘/rtl.css’ );
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
which everything as like as previous.and in second try:
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {wp_enqueue_style( ‘child-style-main’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/main.css’,
array( $parent_style, ‘main’ ),
wp_get_theme()->get(‘Version’)
);
wp_enqueue_style( ‘child-style-bootstrap’,
get_stylesheet_directory_uri() . ‘/assets/stylesheets/bootstrap.css’,
array( $parent_style, ‘bootstrap’ ),
wp_get_theme()->get(‘Version’)
);
wp_enqueue_style( ‘child-style-rtl’,
get_stylesheet_directory_uri() . ‘/rtl.css’,
array( $parent_style, ‘rtl’ ),
wp_get_theme()->get(‘Version’)
);
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style, ‘style’ ),
wp_get_theme()->get(‘Version’)
);}
at this time none of my child theme changes does not override.finally i used the first try (both child and parent enque in functions.php (child after parent)) and use your recommendation as: “.span12 .main-titles .arrows { right: 1130px;}”
and changes apply by child theme but i guess it has a wrong loop beetween child and parent theme in inspect element view.
I’m very grateful you if you check and correct my mistakes.
Thank you soooo much
Forum: Themes and Templates
In reply to: Confusion About Child Themeshi Crouchingbruin
Thank you for your answer.
my website link is: https://www.meroeh.com/for example:
.woocommerce-Price-amount.amount exists only in my child theme and override by my child theme. (i think it is true)also .banner exists in both of them (child css and parent css) and override changes bychild theme. (i think it is true)
.main-titles .arrows which exists in both of them(child css and parent css) with a little changes in my child theme but it does not override by child theme and runs from parent css file. (i think it is false)
.navbar .open-panel which exists in both of them(child css and parent css) with a little changes in my child theme but it does not override by child theme and runs from parent css file. (i think it is false)
i am really helpless, thank you if you can do me a favor for help me.