Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #782996

    Hi all,

    We have our posts set to have a left sidebar, wanted to know what class i need to add my background-color to, to get a color behind our text.

    We have a grey color for the body, and would like to keep that for the sidebar, but the actual post we want to add a color.

    Post page linked below

    thanks

    #783004

    Hey Drebosio,

    You should be able to target the text with:

    .entry-content{
    background:#fff;
    padding:10px;
    }

    Adjust the color and padding to whatever fits.

    Best regards,
    Jordan Shannon

    #783008

    Hey Jordan,

    That’s really close, but i need it to target the entire right side of the page

    i was able to get the entire side using
    main.content.units.av-content-small.av-blog-meta-comments-disabled.av-blog-meta-category-disabled.av-blog-meta-date-disabled.av-blog-meta-html-info-disabled.av-blog-meta-tag-disabled

    but it leaves a little section on the far right, and i’m not sure if the above will target every post

    • This reply was modified 7 years, 8 months ago by Drebosio.
    #783024

    Hi,

    Could you add a screenshot highlighting the entire section that you need fixed?

    Best regards,
    Jordan Shannon

    #783032

    Basically its the entire right side of the page, we have a left sidebar then the rest of the page, trying to get the right side of the page

    #783185

    Hi,

    There will always be some spacing on the right side to accommodate the different screen sizes, so this may not be possible via css. The post file structure would have to be rearranged or a new template file created. We wouldn’t be able to do that here but your developer should be able to develop custom template to accommodate this.

    Best regards,
    Jordan Shannon

    #783187

    ok no worries, thanks jordan!

    #783190

    Hi,

    No problem at all. If you need a hand with anything else please let us know here on the forums.

    Best regards,
    Jordan Shannon

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