container modifyalb.php problem container modifyalb.php problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

container modifyalb.php problem

Started by grimez, March 28, 2016, 11:39:49 AM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

grimez

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?

allvip

Can you post your gallery link?
I will edit your post to delete the link at your request.

grimez

#2
Quote from: 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.

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

link removed

allvip

#3
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.

grimez

#4
Quote from: 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.
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

grimez

sorry, i didnt see that i paste the wrong link

allvip

ADD to #container display:table; and let me know if it worked.

Like this.


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

grimez

#7
Quote from: allvip on March 28, 2016, 03:33:13 PM
ADD to #container display:table; and let me know if it worked.

Like this.


#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.

allvip

Remove display:table; and overflow:hidden from #container and add to style.css (let me know if it worked).


.maintable {
table-layout: fixed;
}

grimez

#9
Quote from: 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).


.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.

allvip

#10
Quote from: 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).


.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% ).


.maintable{
max-width: 110vw!important;
}

grimez

Quote from: allvip on March 28, 2016, 04:11:46 PM
That's a very wrong solution. Will distored pages like new Categories page and other stuff.


.maintable{
max-width: 110vw!important;
}


Display: table work, but there is a mistake in my css i dont know

allvip

Quote from: grimez on March 28, 2016, 03:54:30 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.

grimez

Quote from: allvip on March 28, 2016, 04:17:21 PM
Screenshot_43.png  should show me what? I don't understand nothing from that small attachment.


screenshot_43 = table-layout: fixed;

grimez

#14
my css without display:table in container

(never seen any coppermine theme with display table)

attachments removed at request.

allvip

#15
Quote from: grimez on March 28, 2016, 04:24:15 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.

grimez

Quote from: allvip on March 28, 2016, 04:33:16 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?

allvip



allvip

#19
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/

That's way you seeing things the wrong way.

attachments removed at request.