-
AuthorPosts
-
July 21, 2014 at 8:30 pm #199867
How can I add that little arrow (pointing downwards below the title) that the “Fun Facts” (from the demo site) module has to the JA Masshead module?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 21, 2014 at 9:15 pm #543042That effect is created via some creative CSS border properties – as follows:
.row-feature.row-feature-highlight-title .row-feature-title:before {
border-left: 10px solid rgba(0, 0, 0, 0);
border-right: 10px solid rgba(0, 0, 0, 0);
border-top: 10px solid #1bbc9b
bottom: 0;
content: "";
height: 0;
left: 50%;
margin-bottom: -10px;
margin-left: -10px;
position: absolute;
width: 0;
}You can try pasting the above within your custom.css file (file path –> /templates/ja_sugite/css/custom.css)
yangyangli Friendyangyangli
- Join date:
- July 2014
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 22
- Thanked:
- 12 times in 1 posts
July 22, 2014 at 4:50 pm #543142How does
border-left: 10px solid rgba(0, 0, 0, 0);
border-right: 10px solid rgba(0, 0, 0, 0);
border-top: 10px solid #1bbc9b
create an arrow? That’s amazing.TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 22, 2014 at 5:02 pm #543143July 22, 2014 at 6:15 pm #543146I created a custom.css and added the above mentioned code. Do I also need to assign a class suffix to the Masshead module? I tried to do that but without success.
http://projekt2014.hebel-gymnasium-loerrach.de/index.php/bilder
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 22, 2014 at 6:30 pm #543147Do me a favor and temporarily set “Optimize CSS” to “Off” within your Template Manager–General settings
July 22, 2014 at 6:46 pm #543148done! thanks for your help!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 22, 2014 at 6:51 pm #543149<em>@baud 437745 wrote:</em><blockquote>I created a custom.css and added the above mentioned code. Do I also need to assign a class suffix to the Masshead module? I tried to do that but without success.
http://projekt2014.hebel-gymnasium-loerrach.de/index.php/bilder</blockquote>
Not seeing your custom.css file . . . . what is the file path you have it within?
July 22, 2014 at 6:54 pm #543150like you said: /templates/ja_sugite/css/custom.css
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 3 voices, and was last updated by baud 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Add Fun Facts "Arrow" to Masshead Module
Viewing 9 posts - 1 through 9 (of 9 total)