- This topic has 6 replies, 2 voices, and was last updated 14 years, 1 month ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › CSS questions.
Hello! I have a few CSS questions regarding this plugin. Love it, BTW. Anyhow. I’ve added some tags to Product name under “Add/Edit Products —> Product Details” but the tags show up in the confirmation email and in PayPal also. How can I add those css attributes to the php file directly with a .
PS: I know how to edit CSS files, I just don’t know what file to edit for this and I want the Product names bigger.
I am guessing you are using one of the fancy displays to display the product? If you are can you please mention which fancy display you are using?
Oh, sorry. Yes, I am. Looks like this:
<!–show-wp-cart-for-digital-products–>
[wp_eStore_fancy:product_id:1:end]
[wp_eStore_fancy:product_id:3:end]
[wp_eStore_fancy:product_id:5:end]
[wp_eStore_fancy:product_id:6:end]
[wp_eStore_fancy:product_id:7:end]
[wp_eStore_fancy:product_id:8:end]
[wp_eStore_fancy:product_id:9:end]
[wp_eStore_fancy:product_id:10:end]
[wp_eStore_fancy:product_id:11:end]
[wp_eStore_fancy:product_id:12:end]
[wp_eStore_fancy:product_id:13:end]
Okay… you can add a div class around the product name in the code then specify it in the CSS.
This where you need to change to add it in the code.
Open the eStore_misc_functions.php and find the following function:
function show_product_fancy_style($id,$button_type=1)
This is the function responsible for display the fancy1 so find the following inside this function and add your div tag around it (there might be multiple occurences):
$ret_product->name
Hello. I have tried to add a div class around the product name in the functions file a few times and I cannot get it to work. Is there any way you can assist me more in depth on this? I can toss a small donation.
Thanks
I have added the following CSS around the product name for fancy1 display:
eStore-product-name
Now you can customize this CSS from the CSS file. Hopefully that will help you. I have sent you an updated build of eStore. Let me know how you go.
Thank you for this! Unfortunately something is wrong. I’ve just emailed you back with some questions, etc. Waiting for your reply.