Wrap

Started by Daniel, February 02, 2014, 06:10:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Diego Andrés

Es un problema con el mod Topic Prefix, no del theme, si necesitas soporte con el mismo, por favor solicítalo en la web del autor.

O en todo caso si no lo has comprado, lo único en lo que te puedo 'ayudar' es que revises que se hayan realizado correctamente las modificaciones en el archivo Display.template.php

WINTX

Gracias Diego, demasiado me has ayudado.

Voy a revisarlo.

Saludos y tema solucionado.

Grambel

How to place facebook like button like this?

Picture attached.
Last Edit: July 27, 2014, 04:25:44 PM by Grambel

Daniel

Go to https://developers.facebook.com/docs/plugins/like-button
Put options as in the following image and change what it says "your facebook page".


Then press the button "Get code", it will open a screen, and give click to "IFRAME" and copy the code that appears.


Index.template.php (Themes/Wrap)
Find:
echo'
<div id="wrapper">
<div id="header"><div class="wrapper">
<div class="logo">
<a href="', $scripturl, '"><img src="', !empty($context['header_logo_url_html_safe']) ? $context['header_logo_url_html_safe'] : ''. $settings['images_url'] . '/'. $context['theme_variant']. '/logo.png' ,'" alt="' . $context['forum_name'] . '" /></a>
</div>';

Replace with:
echo'
<div id="wrapper">
<div id="header"><div class="wrapper">
<div class="logo">
<a href="', $scripturl, '"><img src="', !empty($context['header_logo_url_html_safe']) ? $context['header_logo_url_html_safe'] : ''. $settings['images_url'] . '/'. $context['theme_variant']. '/logo.png' ,'" alt="' . $context['forum_name'] . '" /></a>
</div>
<div id="likefb">
fb code
</div>';


You have to change "fb code" for the code you copied earlier.

Index.css (Themes/Wrap/css)
Add to the end:
#likefb
{
float: left;
margin: 13px 5px 0;
}


Regards!

Grambel

Thanks, it works fine with Wrap theme logo. However, when i add another logo which is 280x50 ( wrap theme logo is 175x50 ), facebook button looks fine, but navigation menu is broken now. If i use only my custom logo without facebook button, navigation menu looks fine. What changes i should make to fix this?

Daniel

Quote from: Grambel on July 28, 2014, 11:08:46 AM
Thanks, it works fine with Wrap theme logo. However, when i add another logo which is 280x50 ( wrap theme logo is 175x50 ), facebook button looks fine, but navigation menu is broken now. If i use only my custom logo without facebook button, navigation menu looks fine. What changes i should make to fix this?
sorry for didn't reply yet, I leave you this message for you do not think I will not help you, is that during the week is difficult for me give support.

Daniel

Ok, it's easier than I thought.
index.css (Themes/Wrap/css)
Search:
@media screen and (min-width: 1024px)
Replace for:
@media screen and (min-width: 1170px)
Search:
@media screen and (max-width: 1024px)
Replace for:
@media screen and (max-width: 1169px)


GamePersia

Hello kindly tell me how to fix a little bug,..
in profile if someone is adding image from a link and the link is of google, then image is not resizing it's coming very big in all areas :(

kindly fix

for link example :
Quotehttp://lh3.googleusercontent.com/-pnrIiVPHXWw/AAAAAAAAAAI/AAAAAAAAEBw/SOMETHING/photo.jpg
Last Edit: October 09, 2014, 09:10:18 AM by GamePersia

GamePersia

Quote from: GamePersia on October 09, 2014, 08:50:53 AM
Hello kindly tell me how to fix a little bug,..
in profile if someone is adding image from a link and the link is of google, then image is not resizing it's coming very big in all areas :(

kindly fix

for link example :

Please solve the error.

Daniel

The link that you left doesn't work.

Diego Andrés

Also that is not a theme issue.
You may change the settings in your forum administration to resize the avatar images, those from links, or the uploaded ones.

GamePersia

Quote from: Daniel on October 10, 2014, 11:13:51 AM
The link that you left doesn't work.
Daneal it's not a link i given, it's just an example of link.

GamePersia

Quote from: Diego Andrés on October 10, 2014, 04:01:55 PM
Also that is not a theme issue.
You may change the settings in your forum administration to resize the avatar images, those from links, or the uploaded ones.
Oh ok i got that settings,..but in EXTERNAL AVATARS option,..if i am changing "If the avatar is too large" to "let the html resize it" or "resize it with javascript" then the avatar is coming very small,..so please tell me how to fix a proper size ?

Diego Andrés

If you are checking "download avatar from external URL", it may cause some problems with the sizes. And you may check resize with HTML.
Also the "normal" settings would be width: 150px and height: 200px

city

Very nice theme. I'm trying to learn how to modify.