• priatel

    (@priatel)


    [ Moderator note: moved to Fixing WordPress. ]

    When you create a new page with your theme, that page has automatically a white background.
    (the background you can customize is the background of the whole site BEHIND that page – you can even place there a picture)

    I would like to change the color of the background of the page from white to transparent and so to see the general picture background.

    How to change the color of the background of the page?
    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • forserious

    (@forserious)

    It sounds like what you’re trying to accomplish is essentially going to require modifying the CSS and HTML for the specific theme you’re using. Unless you’re using a HIGHLY customizable theme you’re not going to be able to make this change without editing code.

    One way would be to use a browser “inspect element” tool for the container with the white background you’re looking to change to transparent and then find the CSS code specifying that value. Do you have any experience with that type of work? If not, perhaps reach out the creator of the theme / read up on WordPress theme customization as this could be a tricky task with potential consequences for a beginner.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter priatel

    (@priatel)

    @andrew
    This plugin is for changing the background BEHIND the pages, BUT NOT for changing the backgound of the page itself !!

    @forserious
    For changing that background (and not that one behind the pages), I think I will have to add some code CSS to my new pages.
    But where to add this CSS?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    For CSS support, you’ll need to show us an example page that you want to style.

    Thread Starter priatel

    (@priatel)

    An image for explaining for which background I an talking about.

    backgrounds

    Thread Starter priatel

    (@priatel)

    For the html:
    html

    Thread Starter priatel

    (@priatel)

    and the associated CSS:
    css

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is there any way you could link us to the page? Debugging screenshots is time consuming.

    Thread Starter priatel

    (@priatel)

    @andrews: HOW?

    Thread Starter priatel

    (@priatel)

    The html
    <html>
    <body>
    <div id=”SILKS”>
    <p id=”p1″>SILKS</p>
    picture silks
    <ul class=”menussilks”>

    • CARPETS
    • BEDDINGS
    • DRESSES
    • SLEEPWEAR
    • UNDERWEAR
    • SCARVES
    • NECKTIES
    • CUSHIONS
    • </div>
      </body>
      </html>

      The associated CSS
      .menussilks{color: black; list-style-type:none;background-color:E996CD;}
      #SILKS{font-family:”open sans”,Verdana,sans-serif; font-weight:900;}
      #p1{font-size:40px;padding:0px;margin:0px;width:175px;text-align:center;background-color:E996CD;}

      The site is:
      https://ecathay.com

      PLEASE NOTE:
      I am a NEWBEE in wordpress and in programation in general.
      This site is for testing the themes and their possibilities before working with the final theme.
      For the time being, the site is running under a child-theme of Storefront: Boutique.
      Bruno

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Changing the background of the page’ is closed to new replies.