Skip to main content

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: 43

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: 34

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: 17

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: 15

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: 7

Accordion Design

/* accordion design */

.uk-accordion-content{
margin-left: 20px;
margin-bottom: 20px;
}
.uk-accordion {
margin-top: 40px;
background-color: #fff;
}
.uk-accordion-title::before {
background-image: url("/images/graphics/accordion-graphics/shield-20.png");
background-repeat: no-repeat
}
.uk-open > .uk-accordion-title::before {
background-image: url("/images/graphics/accordion-graphics/shield-20-red.png");
}
.uk-accordion > :nth-child(n+2) {
margin-top: 0;
padding-top: 0;
}
.uk-accordion-title {
background-color :#f7f7f6;
padding: 20px;
}
.uk-open > .uk-accordion-title {
background-color: #999;
}

.uk-accordion-content>:last-child {
margin-bottom: 20px;
}
/* END accordion design */

 

Biomin redesign.

/* accordion radius corved corners and uppercase*/
.uk-accordion-title {
border-radius: 5px;
text-transform: uppercase;
font-size: 14px;
}

/*accordion making the text stay in the middle of the button vertically*/
.el-title {
display: flex;
align-items: center;
width: 160px}
}

/*center accordion */

.el-title {
margin:0 auto;
}

  • Hits: 22

Set up JFilters in Yootheme Pro

Make sure the JFilters, YoothemePro plugin is loaded and enabled.

Make sure Ajax Interfce is turned off.

In the Joomla menu make a menu item JFilter Reshils and select JFilter /  Results from the Menu itme type - save.

In YoothemePro go to the new JFilter menu item page.

Create a Template, call it JFilters Results. Choose Page / JFilters Results

 template

Save the template it will have a dot beside it if you are on the JFilter page, click on the templte to open the builder / template 

Click New Layout.

Split the section into 2 columns

columns

Add a grid into the the second column

Click on the grid and add an item

Inside the item you have just created to to the advanced tab and from the Dynamic Content drop-down, select JFilters Results Items.

advanced

 Still inside the item go to the Content tab and map the title

title

Contine to map the items on this page.

Limit the amount of full content showing, by setting the content length. Click on the edit icon.

 content

 

  • Hits: 20

Drop Down Sub Menu Dividers - Framerate style

YOOtheme > SETTINGS > Custom Code

 

/* add in the dividers in the dropdown sub menu */
.tm-header .uk-navbar-dropdown li + li::before {
content: "";
display: block;
height: 1px;
width: 100%;
background: #739ed1;
}

  • Hits: 18