harry_ord Posted September 6, 2017 Share Posted September 6, 2017 Hello This is my site:http://hojalateriaelguante.agencialosnavegantes.cl/ At the end of the page, just before the footer, i have a blog, and i need it to look like the attached picture. By default, the blog element of this theme has the featured image above and the content below, i did an inspection with Chrome and i tried putting a "float:left" to the featured image and kind of worked but, the content and the picture are too close to each other, and i want to separate them, just how they look on the example attached. How can i do this? Link to comment Share on other sites More sharing options...
Ingolme Posted September 7, 2017 Share Posted September 7, 2017 You can add a margin to the element to separate it from the other content. Link to comment Share on other sites More sharing options...
harry_ord Posted September 7, 2017 Author Share Posted September 7, 2017 I tried that, but they don't separate. I tried put a margin-left:50px; to the content, but it doesn't move. Even i tried putting obscene values like margin-left: 600px; and not, it won't move an inch. Link to comment Share on other sites More sharing options...
Ingolme Posted September 7, 2017 Share Posted September 7, 2017 Put the margin on the image. 1 Link to comment Share on other sites More sharing options...
harry_ord Posted September 7, 2017 Author Share Posted September 7, 2017 I FEEL SO STUPID. I never thought about just putting the margin on the image. I just did that and ta-dan! it's solved. Link to comment Share on other sites More sharing options...
harry_ord Posted September 7, 2017 Author Share Posted September 7, 2017 Sorry, other question. It is possible to make it look more like the picture? like it has a yellow square with the day and month over the image. How can i manage that? that's not CSS anymore, right? Link to comment Share on other sites More sharing options...
dsonesuk Posted September 8, 2017 Share Posted September 8, 2017 The element and content must exist using php/html before you can style it presentationally using css. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now