Skip to main content

Drop down sub menu background colour

/*drop down background colour*/
.uk-navbar-dropdown-nav > li.uk-active {
background-color: rgba(204, 204, 204, 0.8);
}

  • Hits: 10

Header drop shadow disappearing

Add to Setings / Custom Code / CSS/LESS

/*making the drop shadow stay on the header*/
.uk-navbar-sticky:not(.uk-navbar-transparent) {
box-shadow: 1px 1px 20px 0 #000;
}

  • Hits: 5

Nav drop down, sub menu, item jumps to the wrong position - RS Form

  • In the Joomla backend go to Components > RSForm! Pro > Manage Forms.

  • For each form you use:

    • Click on the name of the form.

    • Click on "Form Properties".

    • Select Responsive Layouts > UIkit 3.x.

    • Set Options > Load Layout CSS / JS > No.

       

      drop down sub menu wrong position

      (The screenshot is meant to provide general orientation. Your RSForm user interface might well look slightly different.)

  • Click on "Save" in the toolbar.

Reload the page in the frontend to see if matters have improved.

  • Hits: 6

Header NavBar background colour color transparency pull image under section

Section / edit / Setting

make the header transparent, pull section under header

Then, Add this to the CSS of the top section - (NEW LMEQ website)

/* header menu area transparent black */
.uk-navbar-container:not(.uk-navbar-transparent),
.uk-navbar-transparent {
background-color: rgba(0,0,0,0.5);
}

/* headerbar above menu transparent black */
.tm-headerbar {
background-color: rgba(0,0,0,0.5);
}

 

/* header transparent black */
.uk-navbar-container:not(.uk-navbar-transparent),
.uk-navbar-transparent {
background-color: rgba(0,0,0,0.5);
}

 

  • Hits: 38

Make a section invisible Section visibility

See a section only on small screens -

Into Section / Advanced / CLASSES  add: 

uk-hidden@m

See a section only on large screens -

Into Section / Advanced / CLASSES  add: 

uk-visible@l

 

 

More detail:

https://getuikit.com/docs/visibility

edit the section in the page builder by clicking on the pencil icon next to the section name

click on the Advanced tab 

enter

Show on small screens: 

uk-hidden@m

 Show on large screens

uk-hidden@l

 

 uk-hidden@l> into the field Class for sections that shall only be visible on small screens (screen width of 0–1199px by default)

alternatively, enter uk-visible@l> into the field Class for sections that shall only be visible on large screens (screen width of 1200px and more by default)

alternatively, if you need to target a specific device width, enter the following into the field CSS (adjust the values to your needs)

/* section only visible on screens with a width of 900px and more */
@media(max-width: 899px) {
    .el-section {
        display: none;
    }
}

or

/* section only visible on screens with a width of 0–899px */
@media(min-width: 900px) {
    .el-section {
        display: none;
    }
}

Here is the list of visibility classes available: https://getuikit.com/docs/visibility

Please also be informed that there is a Visibility setting in the general settings of each element. If no element in a section is visible, this section will collapse and not be visible either (also see collapsing layouts).

  • Hits: 29

Change colour of a single page background

Alternatively, assign a page class to this particular "Home" menu item which can be addressed via CSS:

In the Joomla backend go to Menus > Main Menu and edit your menu item "R1-Connect" (I am not sure how precisely it is spelled).

Into Page Display > Page Class enter the exact string

  r1-connect

 page class joomla menu item

Click "Save & Close" in the toolbar.

Navigate to YOOtheme > SETTINGS > Custom Code and into the field "CSS/LESS" insert the following CSS:

 .r1-connect .uk-section {
  background-color: #00ff00;
  }

Same here: Adjust the colour, of course.

Save the changes, clear the cache, reload the page, and test the result.

 

Troubleshooting 

uk-width-expand@s uk-first-column" style="--uk-inverse: initial; margin: 0px; padding-left: 15px; box-sizing: border-box; width: 660.359px; max-width: 100%; flex: 1 1 0%; min-width: 1px;">

How can I change the background color of a single article (using the builder)?

A Builder layout consists of sections, so one possible approach would be to apply the background to the sections. If the colour you want is not the "Default", "Muted", "Primary", or "Secondary" colour, you can employ the sections' Advanced > CSS fields insert something like

.el-section {
background-color: #00ff00;
}

for example.

How do I change the background color for an entire menu item/page?

It is not entirely clear what you mean. A menu item is usually a short linked text. If you want to individually apply a colour to it that is different from the other menu item, that also requires custom CSS.

And lastly, what’s the recommended method to set a default background color for the whole site/template?

What to do and whether or not it is even possible would very much depend on the layout and the setup. There is no link to the website and a page this is about, and the request is too general and lacks context to suggest anything spot-on. 😊

Getting a certain background colour behind the whole of the content would usually require customizations, though. With a YOOtheme > LAYOUT > Site > Layout: Full Width layout the page background would rarely be relevant because everything is about the "Sections", the "Columns", the elements, and their content and settings.

With a Layout: Boxed setup you can set the background colour at the left and right via YOOtheme > STYLE > General > Theme > Page Container > Background. To avoid misunderstandings: This background would usually not be visible in a "Full Width" layout.

Also, I have been using different layouts from the Library for various pages, and now I want to unify the overall style because there are inconsistent background colors across the site.

There is no possible answer to that because there are no technical details and no context. 😊

In the current version, I don’t see the background color options where they used to be (in the Style tab of a section). I want to make sure I'm not missing something.

Each section has a Section  > Settings > Style option where you can select a preset like "Default", "Primary", "Secondary", etc. The colours can be globally defined via YOOtheme > STYLE > General > Global > Backgrounds. Bear in mind that a change to these colours will affect all uses of the "Primary", "Secondary", etc. preset.

There has never been a "background color option" setting of a "Style" tab for the sections, though. 😊

  • Hits: 14

Dynamic Grid fed by Article Category - How to show published date

Edit the Grid item, and select Content > META > Dynamic > Article: Published.

Alternatively, select Content > META > Dynamic > Article: Meta, click on the pencil  icon, and β€” if you don't want to show the author β€” un-tick Image Show author.

Regarding the date format β€” which you might want to change β€” please see https://yootheme.com/support/yootheme-pro/joomla/dynamic-content#date-format. Its syntax is that of the PHP Date function.

  • Hits: 10

Border round row panel Esher

/* yellow outer panel border top left panel*/
.el-column > div > * {
border: 2px solid #fcc312;
}

add to row / advanced / css

  • Hits: 4