the answer for all question about Oxygen Builder plugin and WordPress

Hi all! Hope you had a great christmas and new year! (or great weekends in case you don’t celebrate

Hi all! Hope you had a great christmas and new year! (or great weekends in case you don’t celebrate or celebrate something else)

We have a problem when we are using clamp in global settings. When we add a heading or text it does not clamp so we have to manually add the clamp to all headings and text for it to work. A bit frustrating when it should work from global settings.

Any idea on what could cause this?



Source

Arya Design Set

Capital Design Set

2 Comments
  1. Matt says

    There are (at least) two ways to implement clamp:

    a) Enter your clamp() property in Settings > Global Styles > Headings / Body Text > Font Size directly as e.g. clamp(…)

    b) Edit your Global Stylesheet, add variables to :root ruleset like
    :root {
    –font-size-1: clamp(…);
    –font-size-2: clamp(…);

    }
    And then add those variables to Settings > Global Styles > Headings / Body Text > Font Size as e.g. var(–font-size-1)

    I used both methods in various projects (up to Oxy v3.9) and both worked fine.

  2. Nitin says

    Is there any class added to the element?
    Remember element ID has higher priority over the attached element class.

Leave A Reply

Your email address will not be published.

Oxyrealm Docs OxyMade - Oxygen Builder Design Set Mega collection