My blog: http://friendsojpblog.blogspot.com/
The questions below relate to the circled numbers shown on the attached
file.
I would like to eliminate the 'Title and the Description' Header section, as noted with #1, so it looks like the image on the right (as shown with the red arrow).
Because the blog scrolls as more is added, this Header disappears from view.
Since I am using this in an iframe, my plan is to add a stationary Title/Description header image above the iframe.
Other sections in the blog can be deleted within Blogger's layout options, but I can't find a way to eliminate the header. Is there a way to eliminate the Header?
When I removed the background image, I chose a solid color.
In this attachment, the background is a medium gray, and the narrow border is a light gray.
I want the Background to be white, transparent or preferably eliminated completely, but when I chose white or transparent from Settings, the color of the narrow border turns white.
Is there some way to set the Background color and still maintain the light
gray narrow border? Or better yet, eliminate it completely?
The 'box' containing the Archive has a dark gray background.
This makes it hard to read the text, no matter what text color I choose.
Is there some way to change the background color of this box?
I have the width of the blog set to the minimum of 500 pixels.
I would like to make it somewhat narrower, but I cannot find any way to do this.
Is it possible to make it narrower?
Screenshot of my Blogger:
************
Update: 7/7/2016
Dani:
Here is the CSS code I added. It is the only CSS code for The Park Blog.
.region-inner .header-inner {
display: none;
}
body {
background: #ffffff; /* White. Confused by your wording here - should be right. */
}
.content-inner {
background: #DCDCDC; /* Light Gray. You can change it to whatever you wish. */
}
.footer-outer {
background: #33CC33; /* Green. You can change it to whatever you wish. */
}
body {
min-width: 300px; /* Now it's 400px. change the "400"s you see to the number you wish. */
}
.content-outer, .content-fauxcolumn-outer, .region-inner {
min-width: 300px;
max-width: 300px;
_width: 300px;
}
You added a 1B to your previous answer. All your steps seemed to work, and changes appear saved. However, after step 7, when I view my blog, nothing has changed. When I then recheck the steps, ‘false’ has been replaced with ‘true’, and the Header element is back. I tried this several times, and the results were always the same. Did I miss a step?
Blog min-width. It does not work for me, unless I coded it wrong. Viewing the Page Source, lines 487-494, shows a ‘template-skin-1’, with a min-width: 500px, which appears to override the CSS code I added. I cannot find a way to change this ‘template-skin-1’ code.
Update: 7/9/2016
Dani:
Could not get changes suggested for eliminating header to work. Will try again later.
The width changes do work. For a stand alone blogger, only had to add !important to two lines. Also, only the max-width: has to have pix >0, but both lines have to have !important. See new code below.
body {
min-width: 00px; /* Now it's 400px. change the "400"s you see to the number you wish. */
}
.content-outer, .content-fauxcolumn-outer, .region-inner {
min-width: 00px!important;
max-width: 400px!important;
_width: 00px;
}
To place the Blogger correctly in an iframe, this line must also be modified as follows.
min-width: 400px!important; /* Now it's 400px. change the "400"s you see to the number you wish. */
Harry
1. Hide title and description
.region-inner.header-inner {
display: none;
}
1B. Remove Header completely:
Go to your HTML template, press "Ctrl-F" to open your browser's search box and paste the following code snippet in it:
widget id='Header1' locked='true'
Your browser should now automatically locate the section of your blog's HTML code that contains that snippet.
Replace "true" with "false" to unlock the header and click on "Save Template."
By default Blogger prevents users from being able to remove the blog title element.
Select "Close."
Select "Layout" from the left column and click "Edit" under the Header element.
Click "Remove" at the bottom of the window and select "OK."
Save your new template by clicking on "Save Arrangement."
2. Remove background
body {
background: #ffffff; /* Confused by your wording here - should be right. */
}
Then, to choose background of inner "box":
.content-inner {
background: #ff0000; /* Red. You can change it to whatever you wish. */
}
3. Archive box color
.footer-outer {
background: #ff0000; /* Red. You can change it to whatever you wish. */
}
4. Blog min-width
body {
min-width: 400px !important; /* Now it's 400px. change the "400"s you see to the number you wish. */
}
.content-outer, .content-fauxcolumn-outer, .region-inner {
min-width: 400px !important;
max-width: 400px !important;
_width: 400px !important;
}
5. Result
(Random colors).
Title and description are hidden.
Background is gone.
Archive box color is chosen.
Blog min-width changed.
Update (July 8):
‘false’ has been replaced with ‘true’:
Backup your code, and try removing that line of code from your HTML template, saving, and checking blog again.
Blog min-width: add !important right before the ; of the lines stating the wanted width, in your custom CSS (see edited question).
Note: this company customizes Blogs. And for full disclosure I'm affiliated with it: alldani.com
Related
I am using Invisible ReCAPTCHA for my WordPress CF7 forms. The Advanced Captcha settings allow for positioning the badge either at bottom-right, bottom-left, or inline. I like the compact display of just the badge icon with a bottom setting, but I don't like its sticky nature scrolling with the viewport, especially on narrow mobile devices. The inline setting positions the captcha at the bottom of my form just above the Submit button, but unfortunately, it is displayed in its full, expanded state. Can anyone suggest CSS to either:
1) Use bottom-right setting and prevent it from scrolling?
2) Change inline setting to display only the Badge icon (with protected by content revealed on hover)?
Screenshots
I figured it out!
Go to Invisible Recaptcha's Advanced Settings panel, select Badge > bottom-right.
To your CSS stylesheet, add:
.grecaptcha-badge {
width: 70px !important;
height: 60px;
position: static !important;
float: right !important;
transform: translateY(12px); /* Bottom-aligns badge icon & CF7 submit button.
Your value may need to be different */
}
.grecaptcha-badge:hover {
width: 256px !important;
}
I have inserted an image in the background in my drupal 7 portal. And the css for it is ...
code :
* {
box-sizing: border-box;
text-align: center;
background-image:
url
('https://xx.xxx.xx.xxx/devuser/sites/all/BackgroundWallpapersforPortal/blue
image.jpg') !important;
background-color:none;
}
However, with this my image looks like this -
I don't want my background image to overlap the blocks. I have visited few websites, their background image doesn't overlap every new statement / every new entity. it stays embed to background. Please help.
I want to Achieve this - where the blocks are also visible and there is a background image also.
You need to set the background only to the specific elements you want it on, not everything. For example have a class for your menu items called "navigation" and set the CSS like this:
.navigation{
background-image: url('https://xx.xxx.xx.xxx/devuser/sites/all/BackgroundWallpapersforPortal/blue
image.jpg') !important;
}
I'm so confused, take this example
I had a page on WordPress that I wanted to turn to kinda landing page.
I hid the
Nav Bar and the header
I used this code
.page-id-58 .image-bg-header,
.page-id-58 .hero-container {
display: none;
}
It worked perfectly
I also selected full width while editing that page on the editor
I had to use the same color to make that page look like a landing page, so I used that code
.page-id-58 #content article {
background-color: #000000 }
.page-id-58 #content {
background-color: #000000 }
Here's the issue...
It is NOT full width, not as I wanted to be, there's still a lot of space in the left and the right side
As you can see here https://i.stack.imgur.com/07AEt.png
What am I missing, please?
Website preview
Your theme is using Bootstrap 3 and so the maximum width is 1170. If you want to change this to 100%, add this to your theme's 'style.css'.
#media (min-width: 1200px) {
.container { width: 100% !important; }
}
Also your image dimension is low - try adding big image and check.
Check the screenshot below for the image dimension change.
If you want to set full width of your image then you should be use this css
Hope this help
Let me know further clarification
.page-id-58 img.alignnone.wp-image-65 {
width: 100%;
height: 100%;
}
I found some icons on Flaticon.com to use them in the navigation menu of my blog. In this case I wanted to replace the text "Home" with a house icon using the Base64 code.
This is the current code that was used on my site:
.menu-item-36 {
content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNC…ToDCG0DxpgvOsX4GsAgGyBKX8AAAAASUVORK5CYII5467651096249186f76b4680bd54615d');
margin-left: 10px;
height: 40px;
}
I changed background-image to content in order to hide the original text 'Home' and replace it with the icon.
Now the problem: When I use the code above, the icon has a black color. I would like to use a white color instead. When I set the class to color: #fff; or fill: #fff; it doesn't work.
How can I this issue?
To hide the text, you should not change the background css property to content. I don't know iff you should even use content for anything else then the ::before and ::after psuedo elements.
But for your questions:
To hide text, you should use one of the possibilities given in this answer:
https://stackoverflow.com/a/471538/2012433
To make your image white, there is a hacky solution, namely using this css:
-webkit-filter: invert(100%);
filter: invert(100%);
But better would be to download the image and edit it to white. Then get the base64 code at for example http://www.base64-image.de/
Finally when you set that image as background-image, the following css will fit it nicely in your menu:
background-size: contain;
background-position: center;
I want the gray background to continue all the way to the height of the current window. I tried setting height to 100% of #default-wrapper-body, but that doesn't appear to do anything.
See it live here: http://www.zorgbeurs.nl and even more prominent here: http://www.zorgbeurs.nl/aanmelden
I've also added an image, the areas in the right boxes should run to the bottom of the page, on all pages, not just the homepage.
This is happening because the browser can't detect the height of the footer for one reason or another, also your not use a wrapper on all elements, a quick fix would be to add the following CSS to your stylesheet:
#footer_footnote_wrapper {
height: 80px;
border-bottom: 1px solid #DCDCDC;
}
html, body {background:#f3f3f3;}
html, body, form, #default-wrapper-body { height: 100%; }
… does the trick, see here: http://codepen.io/zitrusfrisch/pen/ouEdI
Better move the form inside the #default-wrapper-body to prevent all forms being stretched to 100% height though.
I think the cookiebar div is causing your white stripe at the bottom, it has background:none; and when its visible the background looks fine, all the way to the bottom.