Support Forum

I am using the main-feature particle, however I do not wish to display an image. I also need for the content in g-main-feature-left to take up the entire width of both left and right sections of the particle.

Thanks for your assistance. login credentials are in site details.

I've tried a combination of the following without success:

#g-showcase .g-main-feature-right {
display:none;
}

#g-showcase .g-main-feature {
.image-block {
display:none;
}
}

Accepted Answer

Monday, July 03 2017, 08:56 PM - #Permalink
Well, after all of that, it appears something was cached, adding uk-hidden to the "Right" css classes section was the solution.
The reply is currently minimized Show
Responses (2)
  • Accepted Answer

    Monday, July 03 2017, 08:49 PM - #Permalink
    I am also using the uikit atom and have added uk-hidden to the right class, it also has no affect. I realize I could also use a custom html particle, but I wanted all of the functionality of the main-feature particle as it suits my requirements.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, July 04 2017, 12:18 PM - #Permalink
    Hi David,

    I'm glad you figured it out.
    Adding the uk-hidden class to the Right CSS Classes field is the best solution.
    But the code from your first comment should work perfectly fine as well (if the "Main Feature" particle that you want to affect is located in the Showcase section):

    #g-showcase .g-main-feature {
    .image-block {
    display: none;
    }
    }


    Just make sure you "Recompile CSS" in the Base outline once you add the code to your custom.scss file.
    The reply is currently minimized Show
Your Reply

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!