-
Author
-
January 31, 2017 at 11:16 #151493HDcmsParticipant
Hello,
I can not put text under a picture (and not next to it)
The image is part of the content inserted in the wordpress editor.
The description is generated in functions.phpHow to oblige (necessarily all the time) a line break after the content inserted in the editor?
*** code functions.php
…
if (!is_admin() AND is_singular() AND !is_page() ) {
$toutContenu =$avantContenu ;
}
$toutContenu .= $content ;
if (!is_admin() AND is_singular() AND !is_page() ) {
$toutContenu .='<div> Premier </div>’ .$apresContenu ;
return $toutContenu;…
February 1, 2017 at 22:20 #151639LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 3, 2017 at 17:29 #151882RaduModeratorWhy you don’t put directly form editor under image a line brake ?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 3, 2017 at 18:15 #151893HDcmsParticipantHello,
Thank you for your interest
I tried but it will not work depending on the pictures.
The images are aligned left in the theme. Difficult to understand the authors, it is more interesting to force after the content in the editor, the return to line in functions.php
$toutContenu .='<div> Premier </div>’ .$apresContenu ;
!!
RegardsAttachments:
You must be logged in to view attached files.February 6, 2017 at 15:55 #152122RaduModeratorWe don’t have a code for that, this it’s not a theme problem it’s a customization request and out support cannot cover those kinds of problems.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 6, 2017 at 18:26 #152153HDcmsParticipantHi
Ok I understand even though I think this is the default alignment of the image (theme ?)
RegardsFebruary 7, 2017 at 17:22 #152229RaduModeratorYou have added that image from WordPress editor and you are able to choose the image position to left, right etc..
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 7, 2017 at 18:16 #152241HDcmsParticipantHI,
Thanks for your tip 🙂For info with another theme, with the same program, I have the back to line naturally.
http://www.alterweb.info/test/
I am still looking for another solution, because I do not necessarily know the editors of articles (and therefore difficult to explain).February 8, 2017 at 11:11 #152316HDcmsParticipantHI,
I think I have found the solution that worksCOPY CODE... if (!is_admin() AND is_singular() AND !is_page() AND ($catSiteWeb OR $catDoc OR $catLieu) ) { $toutContenu .= "<div style='display: inline-block!important;width: 600px;' > </div>" .$apresContenu ; } ...
Do not see any problems?
RegardsFebruary 8, 2017 at 19:02 #152390RaduModeratorReading the code it’s correct
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.