-
AuthorPosts
-
simplesite Friend
simplesite
- Join date:
- August 2013
- Posts:
- 155
- Downloads:
- 0
- Uploads:
- 57
- Thanks:
- 20
- Thanked:
- 4 times in 1 posts
September 19, 2013 at 12:44 am #190730Sorry, I don’t know any css so I hope one of you wizards can help me out.
I am simply trying to create text in a Custom HTML module: Black background, white text to keep it similar.
Here is what I tried but didn’t work:
1) Adding “black” in the Module Class Suffix field; just like in the facebook moule where there is “blue”, but it doesn’t work.
2) Adding this HTMLcode
<body bgcolor=”#000000″ link=”#990033″ vlink=”#990033″ rightmargin=”3″ leftmargin=”3″> <body>3) Table: I created a table in html with a black background but the table background stays white.
So can some one tell me how to”
– Change the background color from a module position
– Add a left and marginIn case you want to see what I mean. I want to make the background black of the white squares:
http://going-natural.com/jfixel/index.php/categories/natural-hairstylesThanks!
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
September 19, 2013 at 6:00 am #506312Hi simplesite,
You can try to create a module class suffix with black background by creating a custom.css file in templates/ja_fixel/css/ path, end put blow codes into:
.module.black {
background: black;
}Then add “black” into Module class suffix options of the modules you want. Make sure you leave a space before the text.
1 user says Thank You to phong nam for this useful post
simplesite Friendsimplesite
- Join date:
- August 2013
- Posts:
- 155
- Downloads:
- 0
- Uploads:
- 57
- Thanks:
- 20
- Thanked:
- 4 times in 1 posts
September 19, 2013 at 3:21 pm #506373Thanks. This works. Now how can you add a margin?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
September 19, 2013 at 3:30 pm #506375<em>@simplesite 390261 wrote:</em><blockquote>Thanks. This works. Now how can you add a margin?</blockquote>
For which particular module are you wanting to add a margin?Where do you want the margin(s) – left, right, top, bottom?
simplesite Friendsimplesite
- Join date:
- August 2013
- Posts:
- 155
- Downloads:
- 0
- Uploads:
- 57
- Thanks:
- 20
- Thanked:
- 4 times in 1 posts
September 19, 2013 at 4:34 pm #506385TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
September 19, 2013 at 6:16 pm #506391I believe what you need is to add soem “padding” properties to the relative CSS rule.
Try this . . . .
Within file path –> /jfixel/templates/ja_fixel/css/themes/dark-green/template.css
at line 466, add some padding properties as follows (for example):
p {
margin: 0 0 10px;
padding-left: 10px;
padding-right: 10px;
}Does that help the display for you a bit more?
Of course, you can play around with the pixel values until you arrive at the result you’re most happy with.2 users say Thank You to TomC for this useful post
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 3 voices, and was last updated by TomC 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Module layout questions
Viewing 6 posts - 1 through 6 (of 6 total)