100pb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding horizontal line only if pagination is activeThanks, it worked!!
Forum: Fixing WordPress
In reply to: Adding horizontal line only if pagination is activeHello, thanks! But then all pages without a pagination show this bottom border too, which is what I want to avoid. How can I edit the code to solve this issue?
Forum: Fixing WordPress
In reply to: Adding horizontal line only if pagination is activeOf course – https://1000photobreaks.eu – Under the 1 2 Weiter >> I want exactly the same dashed horizontal line as above but just below the pagination and only displayed, if there is a pagination.
Forum: Fixing WordPress
In reply to: Adding horizontal line only if pagination is activeMy problem is: If the pagination does not shows up because there are only a few posts than the horizontal line below the pagination shouldn’t show up.
I can style the pagination e.g. with:
.page-numbers { display: inline-block; padding: 5px 10px; margin: 0 2px 0 0; border: 0px solid #eee; line-height: 1; text-decoration: none; } .page-numbers.current, a.page-numbers:hover { background: #f9f9f9; }But I don’t know how to add here a horizontal line with a width of 100% below. The following code
border-bottom: 1px dashed #e6e6e6;doesn’t work, because then only the numbers “1, 2, Next” are underlined with the dashed border – but I do want the horizontal line as separation to the below content and therefore it should have a width of 100%. Can you help? Thank you!Forum: Fixing WordPress
In reply to: Adding horizontal line only if pagination is activeHow shall I do this? I tried to put a <p> element with a class around, but this just shifts the problem to the <p> element.