Customize text under post title – ubud theme
-
Hi, I’m using this theme to build a portfolio site and I was wondering if there’s I can type a project’s description under the title on the right, instead of under the featured image.
Thank you!
The blog I need help with is: (visible only to logged in users)
-
Hi there, do you have a page I can look at? We may be able to reposition the description, but I need to be able to see a page. I can look at draft pages also if you don’t want to publish anything yet.
-
here’s an example:
https://darmahstudio.wordpress.com/2015/03/11/qbo/I’d like to write a description under “QBO”.
Thank you! -
We can do this using the unique post id body CSS class, but you would have to create CSS for each and every page where you wanted a description. To do this, first change the following rule in your CSS from display:none; to visibility:hidden;
.entry-details .entry-date, .entry-details .entry-comments::before, #comments ul.comment-meta li.comment-time, #comments ul.comment-meta a.comment-edit-link::before, .entry-details .entry-edit::before { visibility: hidden; }Next, add this to your CSS, at the very bottom, or at least below the above rule, and it will put a sample description on the QBO page.
.postid-15351 .entry-details:after { content: "This is some descriptive text that is long to see how things will wrap for multiple lines."; display: block; font-size: 110%; }You can find the unique postid class in the opening body selector. You can do a view source from within your browser or use the web inspector built into your browser. If you are not familiar with the web inspector in your browser, take a look at our support page on How to Find Your Theme’s CSS where you will find some brief screencasts to get you started with it. I find it an invaluable tool when working with CSS.
- The topic ‘Customize text under post title – ubud theme’ is closed to new replies.