• Resolved claytiger

    (@claytiger)


    alright, i know how to do a thing here or there on websites. just general easy to do things. but i have this new text box i added into a widget area and i placed a sales picture in it. i cant figure out how to get the white area to disapear, or how to change that white area into a matching color to blend with the rest of that blue section.

    also, i had to reduce/stretch my image to get it to fit in the box correctly, is there a way to make it so the image can just be the same size as the box and cover the white. i tried to make the image the same size originally, but it was always positioned funny, and threw the formatting of things around it off. and i always have that white border around any image i put in there.
    please help!
    https://www.swim-fitness.com is the website.

    anyone able to help me?
    also, can or is there a way to do this fix from wordpress, without me needing access to the html files?

Viewing 15 replies - 1 through 15 (of 28 total)
  • What theme are you using? Where did you download it from? You will probably need to start customising your theme’s CSS – possibly via a child theme or a custom CSS plugin.

    Thread Starter claytiger

    (@claytiger)

    infinite theme is being used. not sure where it was downloaded from. im sorry for my inexperience on this.

    Something like this in your child themes style.css file should do the trick:

    .mod-box {
      background: transparent;
      border: none;
    }
    Thread Starter claytiger

    (@claytiger)

    where do i even find that to edit it and add it in?

    Add it in your child themes style.css file.

    If you have no idea what I’m even talking about, download a custom CSS plugin and add it that way.

    Thread Starter claytiger

    (@claytiger)

    the website is ALL built, has css stuff written i go to themes then edit. and it has CSS file and a bunch of tabs for different css code for different parts of the website. im not sure which part of that i add that specific code to. any direction on what part of this css file to add it to? or does it matter?

    I’m not sure as I didn’t build the theme. I wouldn’t think it would matter, as I’m sure it all gets compiled before being parsed.

    Thread Starter claytiger

    (@claytiger)

    i added this

    .mod-box {
    background: transparent;
    border: none;
    }

    into one of my css sections, and all it did was display that exact code on my webpage. didnt do anything. did i do something wrong?

    You must have entered it in the incorrect location . CSS should never be rendered on the page. You probably added it to your php page.

    Thread Starter claytiger

    (@claytiger)

    is there a way to edit the css through wordpress, or do i have to go into the html files?

    As mentioned above, you can download a custom CSS plugin through the plugin repository.

    Other than that you need to connect via FTP and open up the appropriate file to update.

    Thread Starter claytiger

    (@claytiger)

    so just to clarify, if i add that code into a css file for my website through ftp and the appropriate file. it will affect that box alone, and not the entire sites text fields correct?
    and i can add that snippet of code to any part of the css file does not matter where i add it?

    just making sure! thanks so much evan for your help i really appreciate it.

    Yea if you add it to style.css of your theme, or better your child theme, it will solely target that one image, or really any image that has the class of mod-box. Most likely any other images you add in the same way will be affected.

    Thread Starter claytiger

    (@claytiger)

    to that location right? i dont want it to affect anything else on the website other than right there, i guess thats what i am asking lol. sorry im a severe noob at this.

    .mod-box {
    background: transparent;
    border: none;
    }

    looks right to me

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘new to this, how do i change this text box color’ is closed to new replies.