Tagged: x
-
AuthorPosts
-
April 22, 2016 at 9:34 pm #896162
mat_kinotekParticipanthello,
I’ev been looking around past threads but didn’t find what Im looking for:I need to edit the template (php ??) of the cart page, but do not know how.
im trying ot edit the page here http://50.87.249.71/~cherryl9/test/?page_id=8 so that “size” and “24×18” are on the same line, as well as “thicnkess”, “upload you design”, etc. So that the layout is vertically more compact.
Looks like I cannot achieve this just with CSS, as they lines are formatted by <dt> , <p> , etc. somewhere in some .php file.
I’ve looked into all the .php files in /wp-content/plugin/woocommerce/templates/ etc., but couldn’t find where this formatting happen.
Any help is greatly appreciated, or if you can suggest a way to edit the layout without getting into the .php , that would be even better.. I cannot achieve that with cornerstone nor VC.Thanks!
MattApril 24, 2016 at 1:06 am #897161
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
dt.variation-Size, dt.variation-Thickness, dt.variation-fieldlabel, dt.variation-Uploadyourdesign { width: 54%; float: left; }Hope it helps.
April 26, 2016 at 2:53 am #899868
mat_kinotekParticipantit works!!
I’m trying to style line-spacing and font-size, but couldn’t find any option to do that in the customizer, how shall I edit the CSS? Thanks!April 26, 2016 at 4:16 pm #901028
FriechModeratorHi There,
You can use the
line-heightandfont-sizeattribute with the same selector.dt.variation-Size, dt.variation-Thickness, dt.variation-fieldlabel, dt.variation-Uploadyourdesign { line-height: 24px; font-size: 24px; }Hope it helps, Cheers!
April 26, 2016 at 6:07 pm #901147
mat_kinotekParticipantgreat! it works for the “size”, “thickness”, “upload” items, but the other texts stays the same- i think the CSS is been overwritten somewhere else.. do you know what selector shall i use?
Thanks!April 27, 2016 at 7:52 am #902049
JackKeymasterHi there,
Thanks for writing back!
Can you let me know which text you’d like to change please (size wise, color wise etc), as I can’t grab the ID/classes on your site, as I’m not able to add anything to the cart to see the text, would it be possible for you to post your wp-admin details in a private reply please? As the reason I can’t add anything to the cart is, every product I clicked on didn’t have the variations set to select from so it wouldn’t add to the cart. If you could let us know and we’d be happy to help.
Thank you!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-896162 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
