Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Adding borders to module Border secondary1

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Looking to add a border to to the module classes like Corner Primary and Secondary

Can't get that happening at all.
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
Last Edit: 8 years 10 months ago by Andrew. Reason: Correction on speeling
The administrator has disabled public write access.
Do you have a link?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
DOH
staysmartonline.com.au/
Scroll down to "Right now I'm just ..." three blocks below
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
Looking at the site border and corner aren't really compatible as the border would show to the right and above of the corner

.corner.secondary3::after {
border-color: #cd5151 #ffffff;
}

As the corner is only not viewable as its the same colour as the background

Hopefully this made sense?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hmmm

This is what's there and no change showing anywhere.

.corner::after {
content: "";
position: absolute;
top: 0;
right: 0px;
border-width: 0 16px 16px 0;
border-style: solid;
border-color: ##42B838 #ffffff;
}
.corner.primary1::after {
border-color: #000 #ffffff;
}
.corner.primary2::after {
border-color: #000 #ffffff;
}
.corner.primary3::after {
border-color: #ffcc33 #ffffff;
}
.corner.secondary1::after {
border-color: #ffcc33 #ffffff;
}
.corner.secondary2::after {
border-color: #cd5151 #ffffff;
}
.corner.secondary3::after {
border-color: #cd5151 #ffffff;
}
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
Sorry

I don't think I expressed myself correctly with the border

.corner.secondary3 {margin: 0 1em; border-width: 1px;}

This was what I meant with the border showing above and to the right

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Andrew
Missed responding Paul
Thanks all working
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
Thanks :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers