• Resolved abdorefky

    (@abdorefky)


    welcome, and thanks for reading

    i have a padding that makes hug issue on mobile’s
    on computers the padding do it’s job very well. but in mobile it eats half of the page.
    see this article from mobile : https://www.abdorefky.com/ospf-lsa-types/

    ` .entry-content,
    .entry-summary {
    margin-top: 20px;
    max-width:1000px;
    width: 100%;
    float: none; /* i don’t know if this affect any thing */
    <strong> float: none!important;
    </strong> <strong> padding-left:150px !important; </strong>
    }`

Viewing 5 replies - 1 through 5 (of 5 total)
  • I took a brief look at this and by playing in the editor a bit I was able to get it to work by taking the padding-left off and by taking your widths off.

    Your WordPress site should already have a theme that is fully equipped with mobile readiness.

    Hopefully this helped

    Thread Starter abdorefky

    (@abdorefky)

    the max-width was 696 at first.
    and i changed it to 1000 to make wide text area .

    my theme support all of those https://drive.google.com/open?id=0B_En0WCYnzMsak55Z2FodDFFNFU

    so do you think that i should remove those setting from the main content and add them under the media screen for all 1000 px and above ?

    .entry-content,
    .entry-summary {
    margin-top: 20px;
    max-width:1000px;
    width: 100%;
    float: none; /* i don't know if this affect any thing */
    float: none!important;
    padding-left:150px !important;
                   }

    because the upper changess was made under the main content

    You really don’t need the width:100%; when you have the max-width set at 1000px.

    as far as the padding if you want that on the desktop version I would put that in the media screen for that and then exclude it from the tablet and mobile version as that seems to be pushing stuff around.

    Thread Starter abdorefky

    (@abdorefky)

    oki.
    so what is meant by width 100% for 1000px ?

    example for me question

    width 80% for 1000px VS width 100% for 800 px

    Thread Starter abdorefky

    (@abdorefky)

    fixed by adding those under screen media 1032

    .entry-content,
    	.entry-summary {
    	max-width:1000px;
    	width: 100%;
    	float: none;
    	float: none!important;
    	padding-left:150px !important;
    	}
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wordpress text area issue (Huge issue on mobiles)’ is closed to new replies.