• Resolved eggrace

    (@eggrace)


    Hi,
    I have a variations table set up on a product page.
    It works well the only thing is I need to align the variation description with the price & add to cart.
    When i select the description is shows as a ‘p’ element and any changes i make affects all the other ‘p’ elements.
    Is there any way I can just change these two words and not the whole page?
    Thank you for any advice.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ll need to tighten your selector. Try:
    .item p {
    ( = only the p tags which are inside an element which has the “item” class )
    or
    .variations .item p {
    ( = same, but also the “item” class elements must be inside an element which has the “variations” class )

    Thread Starter eggrace

    (@eggrace)

    That is great – thank you for helping a newbie.
    It’s much appreciated.
    All the best

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changing position of ‘p’ text’ is closed to new replies.