Jump to content
  • 0
Kido

FluxCP background not expanding

Question

Hello, i was editing my website, i use fluxcp as website, everythign was going good but early i noticed that some tables of the fluxcp are out of the babkgrounded color, just like this:

 

pcVDVGn.png

 

until now i always thinked that fluxcp auto-expands the bg colors for tables, but somehow is not working now ):

 

thanks again in advance, regards o:!

Link to comment
Share on other sites

25 answers to this question

Recommended Posts

Hey Kido~

Maybe not exactly an answer to the background expanding problem, but the content-out-of-the-containter issue can be solved fairly easily be doing the following: Open the page in a FTP client (I pressume it's the item page) and see to the top line: <?php if (!defined('FLUX_ROOT')) exit; ?>

 

add the following tag after:

<div style="height:600px;width:600px;border:0px solid #ccc;font:12px/12px Arial;overflow:auto;">

 

(You can close it with another </div> at the end of the code, but it's not really required.)

 

That will make the page scrollable within stated height. If 600 isn't the height you want, just increase or decrease it. ;)

  • Upvote 1
Link to comment
Share on other sites

hmm where could it be? inside main or header ? i also llok for it but i didn't find it

 

it should be expand automaticlly D:!

it will be inside your item view.

  • Upvote 1
Link to comment
Share on other sites

that happens when you miss some close quote, or your content isn't encapsulated between the main content quotes, anyway is difficult to help you without see any line of code or your website 

Link to comment
Share on other sites

it's quite difficult ,or impossible to know the exact line where the code is messed up, so you should indent all your code good to see where is the missing quote if you can't find it easly, im not into flux code so idk where things are located, btw the layout you are using, is made by any person or you made it?

Link to comment
Share on other sites

by a person D: i bought it as a premade, it was all messed up, most of the links were broken, img not found etc but i managed to repair it, it took me the whole night, i didn't sleep until some hours ago lol

 

well thanks i will try to take a deep look to every single files /hmm

 

i will start on the css

Link to comment
Share on other sites

oh that explains a lot o:!!! hmmm now that i remember i had to change the bg image for one i wanted

 

hmmm coming to think, that's why it will never expand D:!

 

hmm wondering how to manage that now, i guess from css (?)

 

thanks again for the support :DD!

 

maybe just a larger background /ok

Link to comment
Share on other sites

omgg i assumed that the background wasn't just a picture.. haha, so have different ways to do it, but if you don't know how, is difficult to explain, you could make it with css ( much better ) or with images and css.. but if you payed for a premade and wasn't working as you want or at least how it should, i think that the seller should repair it

Link to comment
Share on other sites

omgg i assumed that the background wasn't just a picture.. haha, so have different ways to do it, but if you don't know how, is difficult to explain, you could make it with css ( much better ) or with images and css.. but if you payed for a premade and wasn't working as you want or at least how it should, i think that the seller should repair it

 

 nope he just said "selfcode it", it was halfcoded and had a lot of broken links but as i said i managed to make it work a bit

 

hmm i don't know css but, if i remember correctly, somewhere was an option to display how many items per page right? for the item view

 

i was thinking to install the support ticket addon but i think it will get out of the screen..  ): anyways, i will continue in a few hours more, i haven't sleep good in this pasts days z_z thanks you 3 for the help (Doch, Brynner & Akkaring)

 

my problem now is that rankings and some other features ar not working x_x at least the v4p and content manager works good

well that's another topic, anyways, you may check the site for now if you wish tairyu-ro.com

cya nights z_Z

Link to comment
Share on other sites

Well i saw the website and you got this:

 

<div class="container"></div>

everything you want to be inside the container should be inside that quotes, so the div called "content" should be inside, probably it wont work good and all will be messed (maybe not, try it) you will need more changes probably, but that's the main change

Link to comment
Share on other sites

IMO it isnt a very "professional" solution, but at least it works, (scroll is content doesn't look good, even more if there are horizontal scroll)  /swt

Link to comment
Share on other sites

it's ok because i couldn't find the css to expandid and Akkaring was right, it's a mere image there, which means won't expand, but with this solution i an freele make a larger backgroudn and add more stuff so next time i ran out of space i can add that

 

i still thinks players will like it o:!

Link to comment
Share on other sites

i saw your website and it isnt a image, the div called "content" have all the stuff, but the <div> called "container" is made with css and have the background as you can see
 

.container{
	background-color: #ddf8ff;
	margin: 0 auto;
	margin-top: -50px;
	height: 730px;
	width: 621px;
	border:4px #4694ae solid;
	-webkit-border-radius:25px; /* Chrome */
	-moz-border-radius:25px; /* Firefox */
	border-radius:6px;
}

but if you dont know, use the solution that Najara gave you  /heh

  • Upvote 1
Link to comment
Share on other sites

you already got fot this code, this is one part of your css file, so you got the code to make the background expandable (?) and filled in that blue color , but the of the stuff inside your web  is bad placed and don't resize the div that should

Link to comment
Share on other sites

the code i posted (css), is already in your css file, but your code in php/html/whatever is bad placed so that's why it doesn't expand

Link to comment
Share on other sites

the code i posted (css), is already in your css file, but your code in php/html/whatever is bad placed so that's why it doesn't expand

 

yup the fluxcp i bought was totally messed up, the links, the files, almost everything, maybe in the whole mess is that too ):

 

my rankings doesnt work, zeny, guild, char, it doesnt even shows who is online ):

 

allright thank you, i will try to do something about it @[email protected]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.