CSS Extra Class Name

Hello

Is it possible to add a new css "class name" to each section or column or item in a section like you can do in the visual composer?

Thanks in advance!


Comments

  • Hey,

    Visual Composer do not have the same options as our Muffin Builder have, so you must play with simple html tag instead. For title or content inside VC items, please use something like below:
    <span class="class-name">this is my title</span>
  • Thank you but to be more specific, I've built a site using the Muffin Builder. I'm wanting to add "extra class name" or inline css code to a local on-page element; so this style info is only applied to this particular column element and not to other elements in this class. 

    e.g. When creating a new column, on a new page, inserting the gravity form, and adding adding css #gform_1
    padding-top: -50px; it has an effect on the other pages where this Gravity Form is being used. 

    Is there a way to add an extra class name or css to a particular item using Muffin Builder, whereas its only applied to this particular column element and not to other elements in this class throughout the whole site?

    Thanks in advance!


  • It is not possible to add extra class name or css for particular item, but you can add extra class for section and then catch this item via section extra class name.
  • Please advise on how that would be great!
  • So for example, if I were to create a new section and then in the custom css classes create a new class name for my section: 

    .my-own-custom-one-third-colum 

    I could then move to Theme options > Layout > Custom CSS and write my own style here like so?

    .my-own-custom-one-third-colum  { margin: 30 px; padding: 20 px; etc...} 

    and it won't have any affect on other elements in the page or throughout the theme that has this class name for example? 

    .one-third.column

  • Exactly something like that but you must also catch css for the right item inside section. To learn how to do it, please take a look into doc http://themes.muffingroup.com/betheme/documentation/#theme-customizations
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.