Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 12 replies, 2 voices, and was last updated 7 years, 9 months ago by
Paula Gust.
-
AuthorPosts
-
10/15/2018 at 11:08 pm #475113
Paula Gust
Participantcan anyone help me out? I want to use css to make some changes to this page layout: –
https://scenicrimbride.com.au/our-community/hair-makeup/The Heading of each listing sits higher than the image… i want the heading & wording to sit nicely beside the image… if possible, insert a thin line divider between them too?
Also on the individual listings, the image is sitting to the right and i want to adjust the layout here too… it’s too spacey….
https://scenicrimbride.com.au/our-community/hair-makeup/name/bella-brides/
10/16/2018 at 10:49 am #475162Steven Zahm
Keymaster@ Paula
RE: The Heading of each listing sits higher than the image… i want the heading & wording to sit nicely beside the image… if possible, insert a thin line divider between them too?
It seems there has been some custom CSS applied to the theme’s custom CSS area. Specifically this:
#cn-list .vcard span { display:initial }You need to remove that in order to correct the gap.
There is not a good way to add a border without editing the templates PHP file to change the structure so a border can be accommodated properly. Sorry!
RE: on the individual listings, the image is sitting to the right and i want to adjust the layout here too… it’s too spacey….
Removing the CSS from my initial answer helps a bit. You could also try adding this:
#cn-list #cn-profile .cn-clear { clear: none; } #cn-list #cn-profile .cn-biography { clear:left; padding-top: 20px; }Hope this helps!
10/16/2018 at 5:58 pm #475204Paula Gust
ParticipantThankyou – i will try this – however i dont know what is going on with the permalink? when i go to CONNECTIONS – MANAGE – VIEW it doesnt show the listing – it shows this URL – I dont think ‘name’ should be in the URL but i dont know where i can fix this?
This is where it goes: https://scenicrimbride.com.au/community/name/bella-brides/URL should be https://scenicrimbride.com.au/community/hair-makeup/bella-brides/ (i think?)
10/16/2018 at 8:32 pm #475211Paula Gust
ParticipantPlease ignore the previous query – I think i’ve found a solution…
HOWEVER – after using the css code, it has moved the image, which is great – however now there is a massive blank area – can the ‘bio’ go in this space, or can the Contact Details go in this space?
10/17/2018 at 9:22 am #475242Steven Zahm
KeymasterRE: i dont know what is going on with the permalink? when i go to CONNECTIONS – MANAGE – VIEW it doesnt show the listing – it shows this URL – I dont think ‘name’ should be in the URL but i dont know where i can fix this?
It appears you split your directory across many pages on your site. The view link will only resolve to the page set as the directory home page. This is set on the Connections : Settings admin page under the General tab.
Since the directory is split like this, the view links in the admin will not function because it is not possible for Connections to know which page that entry actually resides.
Hope this makes sense!
RE; after using the css code, it has moved the image, which is great – however now there is a massive blank area – can the ‘bio’ go in this space, or can the Contact Details go in this space?
Use this CSS instead:
#cn-list #cn-profile .cn-clear { clear: none; } #cn-list #cn-profile .cn-entry-single .cn-biography { clear:left; padding-top: 20px; }Hope this helps!
10/18/2018 at 3:15 am #475283Paula Gust
ParticipantSo – I shouldn’t have the separate category pages set up? What’s the alternative?
10/18/2018 at 8:21 am #475308Steven Zahm
Keymaster@ Paula
You can setup Connections and it’ll work. Many users use Connections in exactly this way. It is just a little more complex of a setup. Design wise Connections is focused on a single page usage, which is how most use it. So, certain things like the view link on the Manage admin page will only ever resolve to the page set os the directory home page because, like I mentioned, it is not possible for Connections to know which entry belongs to which page when manually separated.
Hope this helps!
10/18/2018 at 8:42 pm #475349Paula Gust
ParticipantAlso – is there any way to allow additional images? I have tried adding MEDIA (images) in the BIOGRAPHICAL INFO box, however they displayed on the category pages. I only want the additional images to show on individual listings, not the category pages….. I also tried adding the images in the NOTES box, but they don’t show anywhere?
10/19/2018 at 9:12 am #475387Steven Zahm
Keymaster@ Paula
Both the Bio and Notes field supports adding images from the media library. However, the Profile template does not display the notes fields since it is design focused on displaying the bio and photo as the primary content.
Since you wish to have the photo only on the profile detail page, you could alter the template using a template override file.
The file you would want to alter is
card-single.php, found in this path:../wp-content/plugins/connections/template/profile/The function you would add is:
$notes = $entry->getNotes(); if ( 0 < strlen( $notes ) ) { $entry->getNotesBlock( array( 'before' => '<h4>' . esc_html__( 'Notes', 'connections' ) . '</h4>' . PHP_EOL, 'after' => '<div class="cn-clear"></div>', ) ); }Hope this helps!
10/21/2018 at 2:16 am #475467Paula Gust
ParticipantHello,
I added this to the file, but it just showed the code on the website? -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
