Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

I have a problem in news

hello i have a badge of News and they are all on the left side of the page when you click News
I made a picture of what it looks like you can't add a picture



http://jknclan.dk/php/infusions/news/...s/news.php


I've put a link to the page so you can see what I mean in news


mvh J_K_NIELSEN
hey there is someone who can tell me why news looks like i have posted a link so you can see what i mean


mvh J_K_NIELSEN
When you add a new item, see the options list of image alignment, you can also use BBCode / HTML to center and/or align any news content.
it is because image is too big it does

Mvh J_K_NIELSEN
@Nielsen,

Your questions is not complete, I'll put up the necessary information for discussion here.

1. This is your code for 1 news container item

CodeDownload  

<div class="panel panel-default">
 <div class="panel-heading p-0 news-image overflow-hide">
 <img class="img-responsive" src="../../infusions/news/news_cats/games.svg" alt="INFO Farming Simulator League">
 </div>
 <div class="panel-body"><a href="../../infusions/news/news.php?cat_id=3"><small>Spil</small></a>
 <span class="text-uppercase text-lighter small">oktober 22 2019</span><h4 class="m-t-0 m-b-0">
 <a class="text-dark text-underline" href="../../infusions/news/news.php?readmore=2"><b>INFO Farming Simulator League</b></a>
 </h4>
 <img src="http://jknclan.dk/php/infusions/news/images/logo_fsl_1.png" alt="" class="img-responsive">vi er ved og se om vi kan samle et hold til Farming Simulator League vi skal bruge 4 stk til Farming Simulator League
 </div>
 <div class="panel-footer">
 <span><i class="fa fa-window-maximize"></i> <a href="../../infusions/news/news.php?readmore=2">Læs alt</a></span><span class="pull-right"><i class="fa fa-commenting-o text-lighter"></i> <a href="../../infusions/news/news.php?readmore=2#comment">Skriv en kommentar</a></span>
 </div>
</div>



2. What about the corresponding PHP Code? Paste in here so we can guide.

Now, if you see there are 2 image, 1 is for category, 1 is for the news itself. What are you trying to achieve or need help with.
Thread Information
Author
Replies
5 posts
Views
178 times
Last Post
Last updated on 16 days ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, Chan, J_K_NIELSEN