-
AuthorPosts
-
April 25, 2017 at 5:22 pm #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
April 25, 2017 at 5:38 pm #783004Hey 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- This reply was modified 7 years, 8 months ago by Jordan Shannon.
April 25, 2017 at 5:40 pm #783008Hey 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.
April 25, 2017 at 5:54 pm #783024Hi,
Could you add a screenshot highlighting the entire section that you need fixed?
Best regards,
Jordan Shannon- This reply was modified 7 years, 8 months ago by Jordan Shannon.
April 25, 2017 at 6:05 pm #783032Basically 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
April 26, 2017 at 12:11 am #783185Hi,
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- This reply was modified 7 years, 8 months ago by Jordan Shannon.
April 26, 2017 at 12:13 am #783187ok no worries, thanks jordan!
April 26, 2017 at 12:21 am #783190Hi,
No problem at all. If you need a hand with anything else please let us know here on the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.