desion.alpha
Member
Posted 8 months ago #
Could someone please try to help me fix the gap above the main text in my pages on this site? I know a part of it is my page title (which i am still struggling with trying to hide) but even that seems to be quite a bit lower than it should be. I just want the top of the slideshow to align with the top of my widgets in the sidebar.
I am very new to wordpress so please bear with me if this is kind of a stupid question.
http://www.kindlewood.info/vible/
Himanshu Parashar
Member
Posted 8 months ago #
Please input below css in your style.css. it will align it with sidebar.
.entry-header
{
display:none;
}
.content
{
margin-top: -17px;
}
Let me know if you still face any issue.
Thanks,
Himanshu
Wordpress consultant.
skype:himanshumaker
Best practice if you just want to remove it from homepage
create a child theme
create a functions.php file in it
add this function
<?php
if(is_home()){
echo '<style>
.entry-title, .entry-title a
{
display:none;
}
.entry-content, .entry-summary
{
padding:0;
}
.left-sidebar #secondary {
float: left;
margin-left: 10px;
margin-right: 0;
overflow: hidden;
width: 18.8%;
}
</style>';
The last class edit
.left-side #secondary
would fix the images going out of your theme content area
desion.alpha
Member
Posted 8 months ago #
thank you very much for the quick response! it definitely helped but its still not quite right. i tried changing the number of pixels to see if i could make a difference but it seems like i didnt get much out of that either. if i "inspect element" in chrome i can see there might be a div there on top. I am not sure if that helps at all.