Update Broke CSS

This topic contains 15 replies, has 3 voices, and was last updated by  Paolo 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #29559

    merchbroker
    Expired Member
    Post count: 32

    I had moved my geodirectory css to my child theme and updating GD still changed it back to original. Can you let me know what I should have in my child theme so I can double check?

    #29561

    Simone
    Expired Member
    Post count: 3515

    Hello, could you please post your url and login details?

    Thanks,
    S.

    #29571

    merchbroker
    Expired Member
    Post count: 32
    This reply has been marked as private.
    #29573

    Simone
    Expired Member
    Post count: 3515

    The user you gave me doesn’t have administration privileges, by the way, I see you only have a breadcrumb modification in your child theme’s style.css …and GD Booster is commenting (disabling) all the occurrences for the child theme’s style.css.
    Could you give administration privileges so I can check please?
    thanks.

    #29576

    merchbroker
    Expired Member
    Post count: 32

    Should be good now.

    #29577

    merchbroker
    Expired Member
    Post count: 32
    This reply has been marked as private.
    #29578

    Simone
    Expired Member
    Post count: 3515

    your child theme’s style.css have only this modification:

    
    
    #breadcrumbs {display:none;}
    h1 {margin-left: 5px; margin-top:-20px;}

    the correct way would is to add in this style.css (inside your child theme’s folder, in your case Sunrise Child)only the things you want to change, no need touching GD css and then copy it into the style.css inside your child theme

    #29610

    merchbroker
    Expired Member
    Post count: 32

    I updated MYTHEME/style.css with

    .geodir-search input[type=”text”] {
    display: block;
    float: left;
    border: 1px solid #CCCCCC;
    border-radius: 3px 3px 3px 3px;
    background: #fff;
    padding: 5px;
    margin-right: 7px;
    width: 550px;
    margin: 5px;
    }

    no change.

    #29611

    Simone
    Expired Member
    Post count: 3515

    I see it properly, test it without cache on your browser, I’ve attached a screenshot of the actual source code, in frontend.

    #29613

    merchbroker
    Expired Member
    Post count: 32

    but I changer the width to 550. that was the only change for this test.

    #29614

    Simone
    Expired Member
    Post count: 3515

    try with the !important

    
    
    width: 550px !important;
    
    #29615

    merchbroker
    Expired Member
    Post count: 32

    that did it! So this is necessary on every line I suppose. Is that typical?

    #29617

    merchbroker
    Expired Member
    Post count: 32

    I also tried to center all the boxes but it didnt work.

    #29622

    Paolo
    Site Admin
    Post count: 31206

    The important is necessary only if you don’t target the css property correctly.

    You have declared .geodir-search input[type=”text”] twice, both times with a width.

    in addition you shouldn’t be using fixed width, or your webiste will look terrible on mobiles.

    GD Booster shouldn’t be active while building your website, especially while working on css. You should disable it until you are done editing your css.

    Hope this helps.

    Thanks

    #29756

    merchbroker
    Expired Member
    Post count: 32

    OK, Thanks for the help!

Viewing 15 posts - 1 through 15 (of 16 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount