Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

One-page theme background-color

Started by rohan sharma 8 years ago · 3 replies · 971 views
8 years ago

Hi,
I would like to change the background-color of the one-page theme skeleton. I made a div class in the features.md and also in features.html.twig and tried to put a background-color to that class but it did not work. I have put in red(in the attached img) the part which i want to change background-color of.
Untitled1|690x352

8 years ago

That is just the body tag of the page. You'll have to change either the body css or the #page-wrapper css to whatever color you want and change the section below (#modular-features) that also shows the body back to white.

8 years ago

yeah .. i tried that .. but the problem is that the color overlaps little bit of the header image also, till the part of that container where it is written 'Why grav .. build sites better etc.' ..

last edited 06/15/18 by rohan sharma
8 years ago

and if i want to add a 'my team' div ... how do u suggest i go about it ? i tried copying team.md and team.html.twig from other skeletons but their layout gets mismatch a lot creating weird looking content.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 3 days ago
2 70 5 hours ago
General · by pamtbaau, 10 hours ago
1 45 9 hours ago
General · by Andy Miller, 22 hours ago
0 43 22 hours ago
General · by Marcel, 12 months ago
6 341 4 days ago
General · by Duc , 5 days ago
3 35 5 days ago