The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Adding two elements in Homepage Message

Go down

Adding two elements in Homepage Message

Post by Alan Barry on July 31st 2015, 2:05 pm

Does anyone know how to add two elements - both centered next to each other - in the Homepage message? i.e. some code.

Forum url - http://priwy-metin2.forum-board.net

As you can see I have placed an advert there, and now I want to place this image  next to it - both centered nicely. Also, I would like the logo to not have any links - if users click it, it will do nothing. How can I do that?

This is what the Homepage message looks like at the moment

" />
avatar
Alan Barry
Forumember

Posts : 25
Reputation : 1
Language : English

http://priwy-metin2.forum-board.net

Back to top Go down

Re: Adding two elements in Homepage Message

Post by brandon_g on July 31st 2015, 2:49 pm

Hello,


For the image, have you tried putting
Code:
[center][/center]
in the beginning and end of the image?


-Brandon


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 6645
Reputation : 602
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Re: Adding two elements in Homepage Message

Post by Alan Barry on July 31st 2015, 3:01 pm

Yes, they are then in the middle but one is on top of the other. I would like them to be next to each other
avatar
Alan Barry
Forumember

Posts : 25
Reputation : 1
Language : English

http://priwy-metin2.forum-board.net

Back to top Go down

Re: Adding two elements in Homepage Message

Post by brandon_g on July 31st 2015, 3:05 pm

Hmm.... May you copy and paste the coding (as it is in the acp) here for us?


-Brandon


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 6645
Reputation : 602
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Re: Adding two elements in Homepage Message

Post by Alan Barry on July 31st 2015, 3:28 pm

This is a clean version of the code, I have got this now as I have tried many techniques yesterday that failed.  


<a rel="nofollow" target="_blank" class="postlink" href="http://www.servimg.com/view/19285113/1"><img alt="" border="0" src="http://i18.servimg.com/u/f18/19/28/51/13/new_lo10.png" /></a>
<div align="center">
 <script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>   
<!--      underbanner below post, above age numbers      --><ins class="adsbygoogle" style="display:inline-block;width:660px;height:90px" data-ad-client="ca-pub-5534241322801440" data-ad-slot="5075007615"></ins><script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
avatar
Alan Barry
Forumember

Posts : 25
Reputation : 1
Language : English

http://priwy-metin2.forum-board.net

Back to top Go down

Re: Adding two elements in Homepage Message

Post by brandon_g on July 31st 2015, 5:05 pm

Have you tried getting rid of the slight line break between the 2 scripts? It will look squished, but it may line it up the way you want.


-Brandon


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 6645
Reputation : 602
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Re: Adding two elements in Homepage Message

Post by Alan Barry on August 1st 2015, 3:32 pm

Yes I have. I have messed around with the code since we last spoke. This is the result. [img][/img]

The logo goes over the actual forum as you can see from the picture. Do you know how I could change this? And line them up right next to each other?
avatar
Alan Barry
Forumember

Posts : 25
Reputation : 1
Language : English

http://priwy-metin2.forum-board.net

Back to top Go down

Re: Adding two elements in Homepage Message

Post by brandon_g on August 1st 2015, 3:38 pm

I must say, they look a lot more lined up now. Whatever your trying it is working. May you provide us with the revised code now?


-Brandon


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 6645
Reputation : 602
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Re: Adding two elements in Homepage Message

Post by Alan Barry on August 1st 2015, 3:52 pm

Here you go 
Code:
<div style="clear: both; text-align: center;" class="separator"><a target="_blank" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" rel="nofollow" href="http://www.servimg.com/view/19285113/1" class="postlink"><img src="http://i18.servimg.com/u/f18/19/28/51/13/new_lo10.png" border="0" alt="" /></a><a src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" "="" href="<script async="> 
      <!--      underbanner below post, above age numbers      --><ins style="display: inline-block; height: 90px; width: 660px;" data-ad-slot="5075007615" data-ad-client="ca-pub-5534241322801440" class="adsbygoogle"></ins><script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></a>
</div><a src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" "="" href="<script async="></a>
avatar
Alan Barry
Forumember

Posts : 25
Reputation : 1
Language : English

http://priwy-metin2.forum-board.net

Back to top Go down

Re: Adding two elements in Homepage Message

Post by APE on August 1st 2015, 10:42 pm

Try adding it to a table and then adding the 2 items in each box a little like this

when you are done you will need to remove the boarder this can be done by changing this part of the code
Code:
[table border="1"]
change the 1 to a 0



avatar
APE
Manager
Manager

Male Posts : 11858
Reputation : 1171
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum