Need help with CSS Customization
-
Hello!
I was wondering if somebody can help me create a CSS snippet to make the recent posts “Últimas Noticias” widget text be aligned from the beggining of each text line.
As you can see every post on that widget starts like this: ( • Text ) but if the post title is long and uses two or three lines, the second line and third line starts under the bullet point, and I want it to start aligned with the text in the first line. Hope somebody can help me create the snippet since am not familiar with CSS. ThanksThe blog I need help with is: (visible only to logged in users)
-
Hey, in the original snippet I gave you:
#secondary .widget > ul { list-style: disc inside; }Replace this line:
list-style: disc inside;With these two lines:
list-style: disc; margin-left: 2em;Let me know if this works as you want it to.
-
Thank you for answering and you have been amazing to me. I tried it and that’s exactly the way I want it :)
Just a little detail, can you make the text be almost next to the bullet point? For instance like this ( • Text ) just with a space on between? With the bullet point exactly where it is but moving the text a little to the left!
Thank you very much, you rock!
-
-
It works perfect and just the way I wanted to! Thank you very much for all the help you are giving me and you do a wonderful job, I appreciate it :)
-
-
Hey. Try the following:
#recent-posts-2 { border: 1px solid #e8e8e8; margin-left: 7.042253521127% !important; padding: 20px 5px 0; } #recent-posts-2 ul { margin-bottom: 0; }There may be a little tweaks needed to the spacing, let me know how you get on with this.
-
Yes exactly like that, it just needs a little bit more tickness so that the border can stand out!
-
I was playing around with that snippet and I already found the perfect size for the border. I changed the border 1px to 5px :) and that’s exactly how I wanted it. Now I just want to see if you can do the snippet for the same border style as the one you created for the Search “Buscar” widget and also for the twitter timeline widget so that all of those 3 widget borders match. Thanks and hope you can help me.
-
For the search bar widget:
#search-2 { border: 4px solid #e8e8e8; margin-left: 7.042253521127% !important; padding: 0 !important; } #search-2 input[type="text"] { border: none; }For the Twitter timeline widget:
#twitter_timeline-2 { border: 4px solid #e8e8e8; margin-left: 7.042253521127% !Important; padding: 0; } -
Perfect!
Now, how can you make the twitter timeline fit into that particular border completely? If you check on that widget the right side of the timeline perfectly fits with the edge but not the left hand side and the bottom. Is there a snippet for it? Thanks -
-
Try changing the snippet for the timeline to the following:
#twitter_timeline-2 { border: 4px solid #e8e8e8; margin-left: 7.042253521127% !Important; padding: 0px !Important; width: 255px; height: 396px; } -
Works perfectly!
Is there a snippet to make my menu bar and my header image be adjacent to each other with no space and to put them all the way on top of the page? And also to make them have the same width as the entire blog page? Thanks -
@vlogazul, would you mind creating a new help request when you have new questions and also try to make the subject line more specific? It helps make support easier.
You can start a new thread here: https://en.forums.wordpress.com/forum/css-customization/#postform
Is there a snippet to make my menu bar and my header image be adjacent to each other with no space and to put them all the way on top of the page? And also to make them have the same width as the entire blog page?
Here is an example to get you started:
#masthead { position: absolute; top: 0; width: 962px; margin: 0; } #masthead .custom-header img { width: 100%; height: auto; } #access { position: absolute; top: 116px; } body { padding-top: 132px; }Adjust the values for “top” and “padding-top” until you find the spacing that works best for you.
Note that if you upload a different custom header in the future, you may also need to adjust the numbers in this custom CSS.
- The topic ‘Need help with CSS Customization’ is closed to new replies.