This topic has 38 replies, 5 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Hello,
I am trying to customize a client’s product pages. Currently I am working on the price, although I will need to customize more. THis would be the code for that correct?
.product-information .price {
float: left;
width: 100%;
margin-top: 25px;
margin-bottom: 25px;
font: 30px/30px 'Roboto', sans-serif;
}
I tried adding color: #fff !important; to no avail. Can you please assist? I’d also like to display the Product name instead of “Product Description”.
Thank you.
In fact, I need to make all of the black text on the product pages white or grey.
Hello,
Please add this code in custom.css file:
.price {
color: white !important;
}
To remove “Product Description” text use this code:
.meta-title span {
display: none;
}
Regards,
Eva Kemp.
Thanks Eva,
Is there a way to sub in the product name where that would be?
The CSS for the white pretty much matched what I have, and had no effect. . . is it being over-written somewhere?
Hello,
Please provide us with wp-admin panel credentials in Private Content.
Thank you.
Regards,
Eva Kemp.
Not sure if it went through on Friday
Hello,
Please clear browser cache and check Shop page again.
The reason was you forgot to close }
in the code before.
Thank you.
Regards,
Eva Kemp.
oh man. That’s disappointing.
One more request – CSS to modify the font/color for the product description that is White highlight with Black text?
Eva,
What I’d really like to do is change the Product description to the Name of the product. I’m hunting through PHP now.
I’ve already changed the font style.
Hello,
You can find this string in \themes\royal\woocommerce\content-single-product.php file on line 64
Regards,
Robert Hall.
IS there a way to dynamically call the product name?
Got it. For anyone else, just insert this PHP on 64:
<h4 class="meta-title"><span>
<?php if (etheme_get_option('product_page_productname')): ?>
<div class="product-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</div>
<?php endif ?>
</span></h4>
Hello,
We’re glad to hear it!
If you have any questions feel free to contact us.
Have a good day!
Regards,
Robert Hall.
Robert,
Two more:
I modified it (you can see it at:http://waldanwatches.com/product/chronograph-chronometer/)
I’m looking to remove the hyper link, but when I do it turns blue or black.
I’d also like to position the price right under the product name. I can’t seem to get it to work.
Try to add this code in custom.css file after removing hyper link.
.product-title a{
color:#816D58;
}
To move price to right position use following code.
.product-information .price{
text-align:right;
}
Regards,
Robert Hall.
Well, I’m back with more.
I’m still having trouble eliminating the negative space between the price and the product name.
example
I also need to get the next/previous product pop ups to appear in front of the menu. Right now they appear behind it.
Hello,
Please add this code in custom.css file:
.ubermenu {
z-index: 0 !important;
}
Check next/previous product pop ups after that.
To have price under product name use this code:
.product-information .price {
margin-top: 0px !important;
}
.meta-title {
margin-bottom: 0px !important;
}
Thank you.
Regards,
Eva Kemp.
Eva,
That worked awesome, thank you. You’re guys support is the best of any wordpress-related product I’ve ever used.
Thank you so much!
(I’m sure I’ll have more. . .)
Actually, the Z-index put the drop downs behind all content. . . can I set the Z-index of the prev/next buttons instead?
Got it. Now trying to remove the underline on the product picture expand button. . .
Hello,
You can use this code in custom.css file.
.product-lightbox-btn{
text-decoration: none !important;
}
Regards,
Robert Hall.
The plodding continues! (You guys are a great help though).
http://waldanwatches.com/product/world-time-chronometer/
Trying to figure out the black like in the title.
Also want to remove the lightbox on the product catalog images and just load them into the product image window. Is there an easy way, the radio boxes in the settings seem to have no effect.
Hello,
Please use this code in custom.css file:
.meta-title:after {
background: none !important;
}
As I see there is no lightbox icon in single product page.
Could you please clarify with more details?
Thank you.
Regards,
Eva Kemp.
Its the catalog images, I would prefer that they just load in the product image carousel instead of a light box.
Got another one, it appears there is a conflict between the Slider and Uber Menu regarding the Z-index. Have you seen that before?
Hello,
Are you talking about Shop page? Do you want the products to be loaded in the product image carousel on the Shop page?
Sorry, but there is no such possibility in Woocommerce settings.
Could you please clarify what the conflict is between the Slider and Uber Menu? What issues are you experiencing?
Regards,
Eva Kemp.
On a product page:
http://waldanwatches.com/product/world-time-chronometer/
When you click on the three catalog images they bring up a lightbox, I would prefer they just swap the image in the carousel (like how the next/prev arrows work).
Please disable ligtbox in theme options->sigle product page and woocommerce->settings->products->display.
With best regards
Brian Johnson
They are both disabled. Lightbox is still appearing.
Tagged: page, persuasive, product, templates, woocommerce, wordpress
The issue related to '‘Product Page CSS’' has been successfully resolved, and the topic is now closed for further responses