How to modify a WordPress post's markup? [closed] - html

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
On this site I'm working on if you scroll down to the 'News' section there are 2 posts.
I wanted to contain the posts section within a set height of 300px so you will basically need to scroll down and if I add some CSS of overflow: scroll this will enable the scrolling.
How do I go about modifying this in WordPress for the posts?
I can not seem to be able to find the CSS for this area as it appears the whole news section isn't in a div of it's own.

If you want to hide the scrollbar you can just in css:
overflow:hidden
Otherwise, you need to find the template and put a condition in that, like:
if(posts->type=='news')
echo <div id="news">...;
then apply css on the id news.

Related

I Need some HTML / CSS assistance [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I'm working on a ebay template for a store, and I'm trying to make a sidebar, and this happens.
http://i.imgur.com/Oktg32w.png
The sidebar is on the right, how do i get it to position all the way up?
here's the html/css code.
http://pastebin.com/DwbHeTcD
Make whatever div you have that encompasses the entire navigation bar position: absolute, and make sure it's the first thing in CSS, to make it nothing override it.

Removing a random blank space caused by CSS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I'm creating a theme for Tumblr and locally everything works fine. Yet when I paste the code into the Tumblr editor and preview it on the site a blank space appears on the top of the page. I've looked through the css and cannot figure out why it's appearing. Any ideas I've tried everything.
Tumblr address is http://storyline-expose.tumblr.com password for it is WIP
Screenshot of the problem:
Add margin-top:0 to .blogTitle
The problem comes with the <h1 class = "blogTitle"> and is well described here:
Margin on child element moves parent element
Another solution (besides Zach's) is to set overflow of the parent element to 0:
.headCoverWrapper { overflow: auto; }

Can't click on links, mark text, how can I fix this? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am making a website, and I've added a list and made the list links to different websites.
The problem is that on the website it shows that they are links but I can't click them, or mark them or anything. I can't mark the text on the website either.
Yes a bit of your code would be helpful.
But it sounds, that some container overlapping your content if you reduce the size of your Browser-Window.
Just check that
Edit // If that is the problem, try to give your content a higher z-index.
Sounds like you're not using the <a> element.
See this tutorial on how to make a link.

Menubar menus are below another div? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have a problem with an HTML Menubar menus, the menus of the menubars are presented below another div, so are not displayed:
Increase z-index for the navigation menu. This will ensure that any objects that are overlapping them, shall make room for the navigation to come one level up.
For Instance,
z-index: 1;
PS: 1 is an example value. You can increase it to whatever value you want.
put z-index:1000; in css menu

Extra scroll with IE7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I have the following website (and please excuse the language of the site, it's in Hebrew), and I apologize for posting a link here. I promise to replace the link with something generic as soon as the problem is fixed:
EDIT: original site replaced with this: http://example.com
For some reason, there's an extra scroll to the left with IE7.
Is there a way to fix this?
You should be able to do:
html {
overflow: auto;
}
I also noticed your horizontal scrool bar in IE is related to:
<ul id="nav1"></ul>
It has position:absolute; that is causing the additional horizontal scrool.