• How do I create CSS that will only modify the first part of a title before the split? after the split works great.

    .pt_splitter {
    display: block;
    font-style: italic;
    }
    but I can’t figure out how to modify before the split. If I put a split at the
    beginning of the line all of the text gets italic

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chris Steman

    (@15km)

    Hi,

    Depending on what part of the text that you would like to see italic you can do the following:

    Veronicastrum virginicum — Culver’s Root

    .pt_splitter { font-style: normal; }
    .pt_splitter.pt_splitter-2 { font-style: italic; }

    Veronicastrum virginicum — Culver’s Root

    .pt_splitter { font-style: italic; }
    .pt_splitter.pt_splitter-2 { font-style: normal; }

    Chris

    Thread Starter mlachina

    (@mlachina)

    after playing around a little the category will not load and i just get a spinning circle. I tried deleting the single product I edited but it made no difference th e only way I can get the products to load is to deactivate the plugin. Can you help?

    Plugin Author Chris Steman

    (@15km)

    Did this happen after you added the updated CSS? If so can you send me a screenshot of the CSS added and i can see if that is causing the issue.

    Thread Starter mlachina

    (@mlachina)

    it was after adding the css and doing two splits on the one title. When the problem started I deleted the css and the splits. still no change so I deactivated the plugin, bingo everything worked. I then deleted the product thinking something was left behind and activated the plugin and still it would not load, I even deactivated and deleted the plugin and reinstalled it again. it still would not load any products in the category. I have it deactivated now.

    Plugin Author Chris Steman

    (@15km)

    I have tested this on my site and I didnt run into any issues, I have added screenshots to show how mine is set up if you want to try that out and see if you still have the same issue with just seeing a spinning circle.

    https://pasteboard.co/VYihTvQ062kD.png

    https://pasteboard.co/Ub3C02Xvhrib.png

    Thread Starter mlachina

    (@mlachina)

    I must have some corruption in my data because after reinstalling the plugin I did not change the default configuration nor did I set up any splits.and if its active I still get the spinning wheel.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘modifying first part of a title before the split’ is closed to new replies.