forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: grimez on March 28, 2016, 11:39:49 am

Title: container modifyalb.php problem
Post by: grimez on March 28, 2016, 11:39:49 am
Hello everybody. I have a small problem with my theme.

In my container i already specified the maximum (1040px) but in modifyalb.php he is in 1140px, could someone help me?
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 02:37:55 pm
Can you post your gallery link?
I will edit your post to delete the link at your request.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 02:45:54 pm
Can you post your gallery link?
I will edit your post to delete the link at your request.

I put overflow: hidden but cut some parts of the layout in certain parts of the site :(

link removed
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 03:11:15 pm
You can not use the same id for another div of the same page (see attachment).
Change it to class container (classes can be repeated) or change one of them to id wrapp.
Plus I don't see no gallery. The container is empty (see attachment).
What div should have the gallery? Explain me because I don't understand much from your layout.
link removed/index.php. index.php seems to be missing.

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 03:18:55 pm
You can not use the same id for another div of the same page (see attachment).
Change it to class container (classes can be repeated) or change one of them to id wrapp.
Plus I don't see no gallery. The container is empty (see attachment).
What div should have the gallery? Explain me because I don't understand much from your layout.
troyesivan.com.br/galeria/index.php. index.php seems to be missing.

i know about it i forget to put gallery on the link
the correct link is this: link removed
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 03:19:59 pm
sorry, i didnt see that i paste the wrong link
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 03:33:13 pm
ADD to #container display:table; and let me know if it worked.

Like this.

Code: [Select]
#container {
   display:table;
    width: 1040px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    margin: 10px auto;
    position: relative;
    color: #fff;
}
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 03:39:22 pm
ADD to #container display:table; and let me know if it worked.

Like this.

Code: [Select]
#container {
   display:table;
    width: 1040px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    margin: 10px auto;
    position: relative;
    color: #fff;
}

It worked. But if inspect the element DIV still appears larger than 1040px


attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 03:48:22 pm
Remove display:table; and overflow:hidden from #container and add to style.css (let me know if it worked).

Code: [Select]
.maintable {
table-layout: fixed;
}
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 03:54:30 pm
Remove display:table; and overflow:hidden from #container and add to style.css (let me know if it worked).

Code: [Select]
.maintable {
table-layout: fixed;
}

worked too but (print)
i believe that the error is in the CSS but I cant identify :/

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 04:11:46 pm
Remove display:table; and overflow:hidden from #container and add to style.css (let me know if it worked).

Code: [Select]
.maintable {
table-layout: fixed;
}

That's a very wrong solution. Will distort pages like new Categories page and other stuff ( makes all cells equal like a td with 20% and one with 80% will have both 50% ).

Code: [Select]
.maintable{
max-width: 110vw!important;
}
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 04:14:37 pm
That's a very wrong solution. Will distored pages like new Categories page and other stuff.

Code: [Select]
.maintable{
max-width: 110vw!important;
}

Display: table work, but there is a mistake in my css i dont know
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 04:17:21 pm
worked too but (print)
i believe that the error is in the CSS but I cant identify :/

Screenshot_43.png  should show me what? I don't understand nothing from that small attachment.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 04:19:49 pm
Screenshot_43.png  should show me what? I don't understand nothing from that small attachment.


screenshot_43 = table-layout: fixed;
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 04:24:15 pm
my css without display:table in container

(never seen any coppermine theme with display table)

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 04:33:16 pm
(never seen any coppermine theme with display table)

Nobody tried to make the admin pages responsive.

Is not even necessary display:table. For me it works just adding width:1140px to container;
Can I have your username and pass if you want? My email : removed.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 04:34:14 pm
Nobody tried to make the admin pages responsive.

Is not even necessary display:table. For me it works just adding width:1140px to container;
Can I have your username and pass if you want? My email themesscripts54@gmail.com.

I send you the user without the display: table in css?
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 04:36:16 pm
Yes.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 04:39:53 pm
Yes.

done
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 05:10:09 pm
Nothing is wrong.
With firefox inspect I added a temporary white border to #container and red border to maintable.
As you can see everything is fine.
BTW the container has 1068px because the container width 1040px +  10px padding left + 10px padding right + 8px border left and right = 1068px. Padding and borders add their width to the div width.

Not with tables.

As you can see maintable has 1040px.

Use web developer add-on to disable chache and cookies http://chrispederick.com/work/web-developer/ (http://chrispederick.com/work/web-developer/)

That's way you seeing things the wrong way.

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 05:22:29 pm
Nothing is wrong.
With firefox inspect I added a temporary white border to #container and red border to maintable.
As you can see everything is fine.
BTW the container has 1068px because the container width 1040px +  10px padding left + 10px padding right + 8px border left and right = 1068px. Padding and borders add their width to the div width.

Not with tables.

As you can see maintable has 1040px.

Use web developer add-on to disable chache and cookies http://chrispederick.com/work/web-developer/ (http://chrispederick.com/work/web-developer/)

That's way you seeing things the wrong way.

i tested another css (with padding left and right too) and works :(
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 05:28:37 pm
Hello everybody. I have a small problem with my theme.

In my container i already specified the maximum (1040px) but in modifyalb.php he is in 1140px, could someone help me?

You meant editpics.php because there is the problem.
Right?
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 05:45:39 pm
ok, I think I understand the error.
how i can delete this post?
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 05:51:05 pm
You don't. You have to post the solution you found for other users to learn.
Is the board rules.

I will only delete the links from your post.
Please say your solution. I'm curious too as tables always exand as much as they need to.
Depends of their content.
I don't think is an error as it does the same thing in my test with the curve theme.
Depends of the width the table needs.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 05:54:32 pm
Okay, so you could delete the links?

there is no solution, it's just some padding and margins in divs that i thought would be flexible in container
but the best solution to keep the padding and margins was the display: table in container
thank u
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 06:01:22 pm
Okay, so you could delete the links?

there is no solution, it's just some padding and margins in divs that i thought would be flexible in container
but the best solution to keep the padding and margins was the display: table in container
thank u

Perfect without display table:

Code: [Select]
#container {
    width: 1040px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    margin: 10px auto;
    position: relative;
    color: #fff;
}
.maintable {
    background: transparent;
    color: #fff;
    margin: 10px auto;
    text-align: justify;
    position: relative;
}

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 06:14:10 pm
Perfect without display table:

Code: [Select]
#container {
    width: 1040px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    margin: 10px auto;
    position: relative;
    color: #fff;
}
.maintable {
    background: transparent;
    color: #fff;
    margin: 10px auto;
    text-align: justify;
    position: relative;
}

but without the images cut (it's not much, i know) but with table display is perfect!
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 06:19:52 pm
No image cut.
See attachment.
Please remove dispay table and let me see it without.
What's your monitor resolution?
It works for me one your gallery with display table temporary removed with firefox inspect.

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 06:56:18 pm
No image cut.
See attachment.
Please remove dispay table and let me see it without.
What's your monitor resolution?
It works for me one your gallery with display table temporary removed with firefox inspect.

monitor: 1366

done! i removed display table
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 07:03:23 pm
Is OK on my PC.
How is on your PC?

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 07:12:15 pm
Is OK on my PC.
How is on your PC?

try on edit_one_pic.php
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 07:24:35 pm
Fine: 1040px and in the container.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 07:28:41 pm
Fine: 1040px and in the container.

print pls
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 07:30:34 pm
print pls

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 07:36:32 pm
attaced

*beep*????????
on my computer image cuts
(in firefox too)
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 07:44:09 pm
print please and before add border:4px solid #fff; to container
and border:4px solid #900; to maintable.

Just so I can see the divs better.
Can you email me the exact link where you see the issue?
Did you have disable chache and disable cookie on?
Title: Re: container modifyalb.php problem
Post by: grimez on March 28, 2016, 07:58:59 pm
print please and before add border:4px solid #fff; to container
and border:4px solid #900; to maintable.

Just so I can see the divs better.
Can you email me the exact link where you see the issue?
Did you have disable chache and disable cookie on?

In my friend's computer is the same way
Title: Re: container modifyalb.php problem
Post by: allvip on March 28, 2016, 08:06:36 pm
The link is fine.

attachments removed at request.
Title: Re: container modifyalb.php problem
Post by: Αndré on April 06, 2016, 12:04:16 pm
Can this thread be marked as solved?