1. Mol4
  2. Sherlock Holmes The Voice
  3. Commercial Templates
  4. Tuesday, 06 October 2015
  5.  Subscribe via email
Hello,
I'm trying to get the top-1a module in a slight darker gray background than the top-1p module position for the Revolve template. As you can see on the homepage of the test website the first top module has a margin of 25 px on left and right where the grey color is different. I'd like the color reach to the edge of the template. Any suggestions? Thanks!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciarán,

thanks! This works.
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Admittedly it is a touch tricky due to how the modules are structured. The only alternative is the following..


.top-1:first-of-type {
display: list-item;
margin-left: -25px;
margin-right: -25px;
position: relative;
width: 960px !important;
}
@media only screen and (max-width: 960px) {
.top-1:first-of-type {
width: auto !important;
}}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciarán,

Thanks for this, unfortunately this only works for the left side of the module. And also the text should be in line with the module beneath. Hopefully you have another suggestion :)
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Try adding the following to the Custom CSS field of your templates parameters...


.top-1:first-of-type {
left: -25px;
position: relative;
right: -25px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.