-
AuthorPosts
-
relsig Friend
relsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
December 7, 2014 at 9:38 pm #203384I don’t need to have a multi language page. How can I load for example the bootstrap icons for Facebook, Twitter and flicker into this position?
Thanks for the hint
Cheers
Roger
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 8, 2014 at 3:07 am #557791Hi there,
It’s all about modules and positions
<?php if ($this->countModules('languageswitcherload')) : ?>
<!-- LANGUAGE SWITCHER -->
<div class="languageswitcherload">
<jdoc:include type="modules" name="<?php $this->_p('languageswitcherload') ?>" style="raw" />
</div>
<!-- //LANGUAGE SWITCHER -->
<?php endif ?>
You can put your custom html module into this position: languageswitcherload
Thank you,
Viet Vurelsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
December 8, 2014 at 7:06 am #557821Hi
Thanks for your answer. I was probably not clear enough. At the moment I have the language switcher module at that position. I want to replace that with the social icons.
Roger
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 8, 2014 at 7:32 am #557827Hi there,
As my prev replied:
– Create new custom HTML module and apply HTML for social icon links
– Put this module into position: languageswitcherload
You can check my prev replied with code to understand this logic.Thank you,
Viet Vurelsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
December 8, 2014 at 10:25 pm #557908Hello
There is a CustomHTML in the JA Brick containing the social media. (Lower right corner). There just text is used. Looking through the available pictures of the template I found icons for Facebook etc. Those are the ones I would like to use. It should look something like the top right corner of JA Elastica.
Could you give me a hint for that? I’m not a HTML pro.
By the way, if I find something in another template I would like, is it possible for example to copy the header.php? With some adjustments I guess.
Thanks
Roger
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 9, 2014 at 2:48 am #557935Hi there,
# Yes, you can use any custom HTML you want with defined content as your needed. For sample
<ul class="social-list">
<li class="facebook"><a title="Facebook" href="#"><strong>Facebook</strong></a></li>
<li class="flickr"><a title="Flickr" href="#"><strong>Flickr</strong></a></li>
<li class="twitter"><a title="Twitter" href="#"><strong>Twitter</strong></a></li>
<li class="feed"><a title="Feed" href="#"><strong>Feed</strong></a></li>
</ul>
# About icon you can check font-awesome for detail document. Please make sure you reference right version with which one using in our template. As far i remember it’s v4.0.2
# You’ll also need a little css to styling your new moduleThank you,
Viet Vurelsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
March 2, 2015 at 3:23 pm #561245I finally got to set the facebook page up… But it is still not working the way I would like it to do. Instead of icons there is text. At the moment I have set it up at position 22 in Ja_Brisk and not the languageloader position as mentioned above.
You write above, that I have to do some CSS. Looking at the template.css file of JA_Brisk I found the following.
.ja-copyright:after {
clear: both;
}
ul.social-list {
display: block;
margin: 10px 0 0;
padding: 0;
overflow: hidden;
}
ul.social-list li {
display: block;
float: left;
padding: 5px 0;
width: 50%;
}
ul.social-list li a {
color: #666
display: block;
width: 100%;
}
ul.social-list li a:hover,
ul.social-list li a:focus,
ul.social-list li a:active {
color: #1ba1e2
text-decoration: none;
}
ul.social-list li a span {
background-image: url(../images/social-list.png);
background-repeat: no-repeat;
display: inline-block;
height: 20px;
margin-right: 8px;
vertical-align: middle;
width: 20px;
}
ul.social-list li.facebook a span {
background-position: 0px 0px;
}
ul.social-list li.facebook a:hover span {
background-position: -20px 0px;
}
ul.social-list li.flickr a span {
background-position: 0px -20px;
}
ul.social-list li.flickr a:hover span {
background-position: -20px -20px;
}
ul.social-list li.twitter a span {
background-position: 0px -40px;
}
ul.social-list li.twitter a:hover span {
background-position: -20px -40px;
}
ul.social-list li.feed a span {
background-position: 0px -60px;
}
ul.social-list li.feed a:hover span {
background-position: -20px -60px;
I also double checked, the picture mentioned in the code is also there, not the correct color yet, but it is there.
Here is the html code I’m using at the moment
<p>Connect with us...</p>
<ul class="inline ja-social">
<li class="social-facebook"><a title="Facebook" href="http://www.facebook.com/samariter.osv">Facebook</a></li>
</ul>Also had a look here and tried this, but same problem: http://www.joomlart.com/forums/archive/index.php/t-82192.html?
I can’t figure out what is wrong :((
relsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
March 3, 2015 at 8:41 pm #561462Any thoughts?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
March 4, 2015 at 1:02 am #561481Hi there
<p>Connect with us...</p>
<ul class="inline ja-social">
<li class="social-facebook"><a title="Facebook" href="http://www.facebook.com/samariter.osv">Facebook</a></li>
</ul>
It’s not FA class. Please update with FA class to use icon.Thank you,
Viet Vurelsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
March 4, 2015 at 8:50 pm #561644Thanks for your input. Now I have an icon, but which is tiny. I’m using the following
<i class="icon-facebook-sign"><a title="Facebook" href="http://www.facebook.com/samariter.osv"> Facebook</a></i>
Found some additional settings for this: <p><i class=” icon-facebook-sign icon-3x”></i> icon-facebook-sign</p>
Unfortunately this doesn’t have any effect. I don’t want to increase the font size, since this will have influence of the whole page.
Furthermore the text “Facebook” is shown in italic looking at the html code I don’t see anything that could make it italic.
Thanks
Roger
relsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
March 6, 2015 at 11:12 pm #561966Found something
<i class="social-facebook"><a title="Facebook" href="http://www.facebook.com/samariter.osv"><i class="fa fa-facebook-square fa-2x fa-fw"></i></a></i>
This does the trick.
Tried the same with Flickr icon. Unfortunately the is just a hollow square. Can you tell me what’s wrong? Do I have to add the icon somewhere? Where?
Thanks
Roger
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
March 7, 2015 at 2:12 am #561977Hi there
As i said before please use FA icons
http://fortawesome.github.io/Font-Awesome/icons/
Thank you,
Viet Vups:// If your site using older version of current latest FA, you will need check on Google for old version reference.
relsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
March 7, 2015 at 7:09 am #562012Hi
I also use <link rel=”stylesheet” href=”//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css”>
So I guess it uses the 4.3 version. Under http://fortawesome.github.io/Font-Awesome/icon/flickr/ I found that the flickr icon can be used with fa fa-flickr.For a test I used the following code
<i class="social-facebook"><a title="Facebook" href="http://www.facebook.com/samariter.osv"><i class="fa fa-flickr fa-2x fa-fw"></i></a></i>
This just gives me a square.
Thanks
Roger
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
March 11, 2015 at 3:27 am #562492Hi there
Please provide your site URL i’ll try to inspect it.Thank you,
Viet Vu -
AuthorPosts
This topic contains 27 replies, has 2 voices, and was last updated by jooservices 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum