Solved: 7 Years, 9 Months, 2 Weeks ago Forum name Problem with images
#1
Solved: 7 Years, 9 Months, 2 Weeks ago
Hi all,

im a COMPLETE noob at mybb i just installed it yesterday. Im an artist not a programmer ^^

So my problem is that i use an image instead of text in my forum tiltes, it works well here

http://tf-united.com/forum/

but looks wrong here becouse of the writing in front of the picture

http://tf-united.com/forum/forumdisplay.php?fid=1

I have absolutly no idea how to fix this and how to get rid of the "Forums in '" beside this it would be uber to have the picture in the bread thingy as text, is this possible?

Sorry im a real noob
Reply
#2
Solved: 7 Years, 9 Months, 2 Weeks ago
Where you put the image? I need to know where is the code of your current image on the category
I don't give support on PM.
Reply
#3
Solved: 7 Years, 9 Months, 2 Weeks ago
i added this in edit forum ->title <img src="/forum/images/mypicture" alt="" />
Reply
#4
Solved: 7 Years, 9 Months, 2 Weeks ago
ok in the same tag, inside, put this:

style="vertical-align: middle;"

Also, you need to shorten the image, because is too long.

----------

To remove the words "Forums in"

ACP > Templates & Styles > Templates > Your theme templates > Forum Display Templates > open forumdisplay_subforums template

Inside, search this:

<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>

Remove this:

<strong>{$lang->sub_forums_in}</strong>

Save the changes and see if that is what you're looking for.
I don't give support on PM.
Reply
#5
Solved: 7 Years, 9 Months, 2 Weeks ago Photo 
Hmmm i did what you suggested but the code just wrote the stuff behind the picture hmmm and to remove the other bit of code killed the hole stuff into the bar, ive made a screenshot to show you. Thx for you patiance and time

ignore the typo lol


Attached Files Thumbnail(s)
   
Reply
#6
Solved: 7 Years, 9 Months, 2 Weeks ago
to remove the "Forums in" thing goto ACP >> Configuration >> languages >> English >> Edit Variables >> forumdisplay.php >> sub_forums_in >> change it as {1}

also remove those "style="vertical-align: middle;"" thing from the templates which you added in the img tag... it may not be needed..

and open ACP >> Themes >> Your theme >> global.css and add

span.active img, a.navbit img {
    height: 30px;
    vertical-align: middle;
}
save everything and Hard refresh (Ctrl+F5) the page to see the changes...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#7
Solved: 7 Years, 9 Months, 2 Weeks ago
Wheeeee this worked PRETTY nice! Is there a way to have the breadcrump (is this correct?) where it says United Forum -> Image // without the image at all?

The rest worked like a charm

One more thing the image in the breadcrump is jumping again when i click on *my forum*
Reply
#8
Solved: 7 Years, 9 Months, 2 Weeks ago
(2015-08-07, 11:31 AM)Exede Wrote: One more thing the image in the breadcrump is jumping again when i click on *my forum*

there was a small correction in the css code i provided.. please check above post and change accordingly.. basically change "span.navbit img" to "a.navbit img"...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#9
Solved: 7 Years, 9 Months, 2 Weeks ago
Thank you, this solved my problem!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)