PDA

View Full Version : How to align icons with thread name in FORUMDISPLAY ?


elsa23
01-03-2017, 11:20 AM
Hi, how to align icons with thread name in FORUMDISPLAY please ?

MarkFL
01-03-2017, 11:54 AM
Can you provide a link to a page where the icons are displayed?

elsa23
01-08-2017, 04:42 PM
Hi, the forum was in maintenance, it's opened now

here is the link :
http://forum-elodiefrege.com/actualite-d-elodie-frege/promo-tv-radio-web/

thanks

MarkFL
01-08-2017, 04:48 PM
Hi, the forum was in maintenance, it's opened now

here is the link :
http://forum-elodiefrege.com/actualite-d-elodie-frege/promo-tv-radio-web/

thanks

Okay, try adding the following selector to your "additional.css" template:

.threadbit .threadtitle > img {
vertical-align: bottom;
}

elsa23
01-08-2017, 04:56 PM
it's aligned now, thank you very match !!! :up:

elsa23
01-08-2017, 05:09 PM
How can align it please here
http://forum-elodiefrege.com/actuali...ov-2016-a.html

MarkFL
01-08-2017, 05:23 PM
Okay, add this also to your "additional.css" template:

.postrow h2.icon img {
position: relative;
top: 2px;
}

.lastnavbit > span > span {
position: relative;
top: -1px
}

elsa23
01-08-2017, 05:35 PM
thank you so match https://vborg.vbsupport.ru/external/2017/04/2.gif

MarkFL
01-08-2017, 05:39 PM
thank you so match https://vborg.vbsupport.ru/external/2017/04/2.gif

Glad to help! :)

elsa23
01-22-2017, 02:16 AM
Hi Mark, how to display icons thread in search result, please

http://forum-elodiefrege.com/search.php?do=getnew&contenttype=vBForum_Post

MarkFL
01-22-2017, 03:40 AM
Hi Mark, how to display icons thread in search result, please

http://forum-elodiefrege.com/search.php?do=getnew&contenttype=vBForum_Post

However you are displaying them on the forumdisplay page, which I assume is by some modification of the "threadbit" temlate, you would have to repeat for the "search_threadbit" template.

Perhaps an easier solution would be to undo the change you made to the "threadbit" template and simply include the HTML for the icons in your prefix definitions. :)

elsa23
01-22-2017, 06:30 AM
Thanks Mark, i added this code in "search_threadbit"

<vb:if condition="$show['threadicon']">
<img src="{vb:raw thread.threadiconpath}" alt="{vb:raw thread.threadicontitle}" border="0" />
</vb:if>

icons thread display now in search result, but how can align them with thread title please

http://forum-elodiefrege.com/search.php?do=getnew&contenttype=vBForum_Post

MarkFL
01-22-2017, 06:36 AM
Edit the selector I posted above:

.postrow h2.icon img {
position: relative;
top: 2px;
}

to:

.postrow h2.icon img, h3.searchtitle img {
position: relative;
top: 2px;
}

elsa23
01-22-2017, 06:44 AM
thank you very very match https://vborg.vbsupport.ru/external/2017/04/2.gif