Skip to main content

Joomla Buttons

Blue and green buttons

Add to the Joomla article

<button class="blue-button"><a href="mailto:This email address is being protected from spambots. You need JavaScript enabled to view it.">Contact Eleanor</a></button>

class="blue-button"

Add to the Settings / CSS

/* Blue Button design */
.blue-button, {
color: #fff !important;
font-size: 16px;
background-color: #203ce1;
border-color: #000 !important;
border-width: 1px !important;
border-style: solid;
padding: 10px
}

.blue-button a:link {
}

.blue-button:hover {
color: #000 !important;
background-color: #0820ad;
border-color: #000 !important;
border-width: 1px !important; 
border-style: solid;
}
/* END Button design */

/* Green Button design */
.green-button, {
color: #fff !important;
font-size: 16px;
background-color: #15af52;
border-color: #000 !important;
border-width: 1px !important;
border-style: solid;
padding: 10px
}

.green-button a:link {
}

.green-button:hover {
color: #000 !important;
background-color: #176741;
border-color: #000 !important;
border-width: 1px !important;
border-style: solid;
}
/* END Button design */

 

 

Add to the Joomla article

<button class="gf-button"><a href="mailto:This email address is being protected from spambots. You need JavaScript enabled to view it.">Contact Eleanor</a></button>

Add to the template CSS

/* Button design */
.gf-button, {
color: #000 !important;
font-size: 20px;
font-family: playfair display;
background-color: #00dbf1;
border-color: #000 !important;
border-width: 1px !important;
border-style: solid;
padding: 10px
}

.gf-button a:link {
color: #000 !important;
}

.gf-button:hover {
color: #000 !important;
background-color: #fff;
border-color: #000 !important;
border-width: 1px !important;
border-style: solid;
}
/* END Button design */
  • Hits: 52

Change bullet points custom bullets in yootheme

Add to, Settings / CSS - (CHANGE depending on your link path.)

/* Change the bullet point image */
@internal-list-bullet-image: "/images/graphics/bullet.png";

 

Add to each bullet list. (This stays the same.)

<ul class="uk-list uk-list-bullet">

Here it is to just copy.

 class="uk-list uk-list-bullet"

Padding

.uk-list-bullet > ::before { left: -40px; }
.uk-list-bullet > * { padding-left: 40px; }

Further steps

Second bullet too

/* Bullet - Change the bullet point image */
@internal-list-bullet-image: "/images/graphics/list-bullet.png";

/* Bullet - Change the second indent bullet point image */
.uk-list-bullet li:before {
&:extend(.uk-list-bullet > ::before);
}
/* Bullet - remove the original bullet */
.uk-list-bullet li {
list-style-type: none;
}
/* Bullet - improve the layout */
.uk-list-bullet li:before,
.uk-list-bullet>::before {
background-position: 0 50%;
}

  • Hits: 92

List Vertical align image column for mobile

Drop Kick Brewery

vertical align image

List make the images go above the second column

Add code to List / Advanced / CSS

@media(max-width: 640px) {
    .el-item > .uk-grid {
    display: flex;
    flex-direction: column;
    }
}
  • Hits: 8

Centre content in grid

Click into the Grid

Settings / General / Text Alignment - center

  • Hits: 7

Mobile menu - General settings

Layout / Site

Add logo for top main menu.

general settings 001

Home / Menus

general settings 001a

Layout / Mobile

lots of settings to look at here.

general settings 002

Style / Nav

Padding between menu items

general settings 003

Menu item font size

general settings 004

Style / Offcanvas

Mobile menu background colour

general settings 006

Colour over the rest of the live page

general settings 008

Change colour of the hamburger
Style / Nav Bar / Toggle

general settings 007

 

  • Hits: 42

Mobile menu - Menu item colours - dark background hamburger close

Style / General / Inverse

/* mobile menu hamburger / toggle size */ 

.tm-header-mobile .uk-navbar-toggle-icon svg {
width: 30px;
}

/* mobile menu logo margin  */ 

.uk-logo :where(img,svg,video) {
margin-bottom: 6px;
margin-top: 6px;
}

/* mobile menu background colour */ 

.tm-header-mobile .uk-navbar-container {
background-color: white;
}

/* mobile menu offcanvas top padding */
.uk-offcanvas-flip .uk-open>.uk-offcanvas-bar {
padding-top: 60px;
}

menu item colours dark background hamburger close 001

Then a long way down!

menu item colours dark background hamburger close 002

Close button

menu item colours dark background hamburger close 003

The Hamburger!!!

menu item colours dark background hamburger close 004

 

  • Hits: 48