Tagged: 

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #506992

    Hi,

    We are looking to achieve something like this: http://cimgroup.com/strategy

    Basically, we need a large image as the background which we added already under Enfold settings, but then, with the image, the text gets lost and doesn’t look great. We need either a black background for the content areas / text areas please where we can control the opacity if possible. If not, a solid colour is also ok.

    Please advise.

    Many thanks.

    #507082

    Hey sitesme!

    I suggest to remove the background image you are using right now and use this code instead (inside Quick CSS field):

    #wrapSite {
    background-color: rgba(0,0,0,0.6)
    }
    

    The last value (0.6) is the opacity. Adjust as needed.

    Regards,
    Andy

    #507093

    Thank you Andy for your great help but I still need the large image fixed as the main background of the website. Then I need the “shadow” area for the contents in white with a small transparency. The content area will vary from page to page.

    Can you please confirm if the code provided is exactly what I am looking for?

    Many thanks.

    #507129

    Hi!

    Can you please post the link to your website and point out the changes you would like to make so we can make sure that we are on the same page?

    Best regards,
    Yigit

    #507174

    Hi Yigit,

    Please check the link below in private. All I need is to have a white background behind the text.

    Thank you

    #507176

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .page-id-36 .post-entry {
        background-color: white;
        padding: 20px;
    }

    Regards,
    Yigit

    #507180

    Thank you Yigit :)

    It worked, however, how can I add some transparency to the white background so we can see a bit of the image background?

    In addition, I will need the white background in all pages. Is there a way to add this “css rule” into all pages? Or do I need to add them individually on each page-id?

    Many thanks

    #507185

    Hey!

    You can give your color section elements a unique ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png and then change the code to following one

    #your-unique-id .post-entry {
        background-color: rgba(255,255,255,0.5);
        padding: 20px;
    }

    255,255,255 is RGB value of the color and 0.5 is opacity level. Please adjust it as needed

    Best regards,
    Yigit

    #507283

    Thank you Yigit, however I wasn’t able to add the latest code.

    I added “homeID” as the unique ID under the section ID and then added the code in the Quick CSS area:

    #homeID .post-entry {
        background-color: rgba(255,255,255,0.5);
        padding: 20px;
    }

    It didn’t work, and I suppose I am doing something wrong.

    In addition to the above, can you please confirm if:
    1) Can I use HEX colours such as FFFFFF instead of 255,255,255? It will save me a lot of time in some sections where we have specific colours
    2) Instead of adding one code line for each post entry ID, is there a way I can just add the IDs on the same css code? For example:
    #id1 #id2 #id3 .post-entry { ...

    Thank you once again.

    #507771

    Hi!

    0.) We can check if you implemented everything correctly and for this we need admin access. You can post login details here as private reply.

    1.) Yes, you can use background-color: FFFFFF; as well, but only if you don’t need an opacity value.

    2.) Try something like this:

    #id1 .post-entry, #id2 .post-entry, #id3 .post-entry {
    …
    }
    

    Best regards,
    Andy

    #508051

    Hi Andy,

    Thank you for your help.

    I decided to add the code as suggested by Yigit and it works fine, by using the “.page-id-36 .post-entry” as I can not seem to have “#your-unique-id .post-entry” working properly.

    I am also clarified about the RGB vs HEX colour codes and the opacity value.

    I am going to try a few other changes and I will get back to you if I need any further help on this issue.

    Many thanks.

    #508758

    Hi,

    Great, we’ll leave the thread open if you should have any more questions or problems.

    Best regards,
    Rikard

    #522349

    Hi,

    I’m glad you kept this topic open.

    I played around with the padding to decrease the background size but it just decreases the top / bottom of the box. How to decrease the side gaps as well?

    Thank you

    #523214

    Any news on this one please?

    #523827

    Hi!

    refuse from bumping into your own thread, because it pushes it behind in our queue.

    About which padding and gaps are you talking about? please always provide us with a precise link and even screenshots, so we can see what you want to achieve and be able to inspect the elements in question. You can use imgur.com or dropbox.

    Cheers!
    Andy

    #524060

    Thank you Andy,

    Please find the screenshot of the area: http://dns.d.pr/1dMPN/2K9j9aSQ
    I added the following code to get the semi-transparent white background between the background image and the text:

    #home .post-entry {
        background-color: rgba(255,255,255,0.8);
        padding: 5px;
    }

    The padding is controlling the top / bottom but how to decrease the sides of this layer as the red arrows are pointing to?

    Thank you

    #524716

    Hey!

    Where can we find the page? The previous page has been removed: EDITED

    Looks like you managed to do it with this:

    .page-id-28 .post-entry, .page-id-36 .post-entry, .page-id-49 .post-entry, .page-id-60 .post-entry, .page-id-71 .post-entry, .page-id-234 .post-entry, .page-id-241 .post-entry, .page-id-74 .post-entry {
        background-color: rgba(255,255,255,.95);
        padding: 20px;
    }

    Regards,
    Ismael

    #526767

    Please check my message in private

    #527822

    Hey!

    Sorry about the link but like I said it doesn’t exist. Please check the investment-opportunity page.

    Best regards,
    Ismael

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.