Discussion on TownPress - Municipality & Town Government WordPress Theme

Discussion on TownPress - Municipality & Town Government WordPress Theme

Cart 3,378 sales
Well Documented

LSVRthemes supports this item

Supported

This author's response time can be up to 2 business days.

2014 comments found.

Hi Lubos,

Is there a way of changing width and/or color of side menu separators? https://ibb.co/8YQz4cj

Thanks!

Hi,

use this CSS:

.lsvr-townpress-menu-widget__item--level-0 { border-color: #0000FF; }

Lubos

Thank you!

Hi again, could you please help me with this? I’d like to center marked title in order to align it with the image at the footer: https://ibb.co/WBHn0SM It is a text widget.

I think that another possible solution would be to align left but control spacing between footer widgets in order to arrange them more or less equally spaced between each other.

Use this CSS:

.footer-widgets__column:last-child { text-align: center; }

Thank you! That worked fine.

Hi Lubos,

I’m trying to define a default sidebar for posts page but I can’t achieve it.

I have created a post page and asigned it through settings-> Reading. https://ibb.co/zF1xPdB The problem is that even if I configure sidebar in that post page, all I get is a Posts page without sidebars. https://ibb.co/qxWXCSV

Hi,

you can to set posts sidebars under Appearance / Customize / Standard Posts.

Lubos

Thank you Lubos! That worked.

Hi, How do you center the page titles, <center> used to work in the title but no longer does.

Hi, yeah I’ve read that the tag was no longer used.

Just the main page titles they are all justified left.

Well, even if the tag still worked, adding it to each title would be pretty bad way of doing it. Just add this to your custom CSS:

.main__title { text-align: center; }

Thank you, great as always

Hi my friend, the weather widget doesn’t appear the temperature. Could you assist us?

Thanks in advance

Relative Link: https://villagepetriti.gr

Hi,

have you added your OpenWeatherMap.org API key under Appearance / Customize / Misc?

Lubos

Hi Lubos,

I’m trying to change color scheme but I must be doing something wrong: https://ibb.co/kXyVyt2

I have followed documentation steps, and just changed accent1 line in order to modify colors little by little:

// Accent $accent1: #e70d1b; //Rojo escudo—#ec5237; // primary accent color

Can you please help me?

This is what I see: https://ibb.co/wzCrP1B

Maybe something related to explorer? I use Firefox 76.0.1. I’ll try to purgue cache or something.

Thanks Lubos!

Try to hard refresh your browser via CTRL + R

Cleaning cache solved the problem, thanks!

Hi and thank you for this great and very usefull theme !

How can I display the breadcrumb (to provide a link back to home) on a single page without selecting a parent page ?

Because if I select as parent page, the page I use as home page, then the breadcrumb appears like this : Home > title of my home page > title of the current page

Thank you for your help

Hi,

breadcrumbs will display only if the path to home is longer than 2. The single page without parent would display only “Home” link which would look pretty weird IMHO.

Lubos

Good day, How do I move the featured image in a post to the bottom, or hide it completely. Thank you very much, JW

Hi,

you mean regular blog (news) post? And do you want to do it for a specific post or for all of them? And I assume you still want to keep it on archive page, right?

Lubos

Thanks for responding… Yes for a blog news post I wanted to be able to move the featured image to the bottom or hide it completely. This would be only on a targeted few posts, not all of them.

The quickest way would be to use CSS like this to hide it:

.single-post.postid-X #main .post__thumbnail { display: none; }

Replace X with the ID of desired post (you can see the ID in the URL when you edit the post in admin).

To target multiple posts, use it like this:

.single-post.postid-X #main .post__thumbnail,
.single-post.postid-Y #main .post__thumbnail,
.single-post.postid-Z #main .post__thumbnail { display: none; }

If you want to add an image to the bottom, simply insert an image into the content.

Hey great theme, I was wondering if you plan on adding any basic form of woocommerce support directly within the theme?

I honestly do not really think there is a need for a ecommerce functionality in a municipality theme. I would rather keep the theme focused instead of bloating it with as many features as possible. But never say never of course. It may happen, just not in the near future I suppose. Feel free to tell me how are you using the theme and why do you need Woocommerce support and maybe it will help me to change my mind on that a little.

Ad breadcrumbs / sidebar: you will have to do some custom coding for 100% integration. For example for breadrcrumbs, you can use “lsvr_townpress_add_to_breadcrumbs” hook. If you are not afraid of coding and some trial and error, take a look into inc/bbpress/actions.php line 49 on how I managed to make breadcrumbs work for forums (bbPress plugin). Feel free to copy the whole block to your child theme functions.php and experiment with it. As for the sidebars, take a look on lines 66 and 80 in the same file. This link will also come handy https://docs.woocommerce.com/document/conditional-tags/

I’ve used the theme exactly for that, a local town website. I was hoping to add a shop area to sell local items and ‘town’ products. Think Calendars, mugs and small gifts.

I appreciate the the help and will crack on, I’ve been experimenting this morning although it seems I have a lot to learn with PHP and hooks.

Just make sure to do it via a child theme. Do not rename hooks (filters), rename just functions (each function need an unique name). Take a look at the link from my previous reply for Woocommerce specific conditional functions, take inspiratin from the inc/bbpress/actions.php file and I am sure you will make it work sooner or later.

Please help me. I performed the DEMO import. But I have problems because it seems incomplete. The demo I have on the site is not the same as yours.

Hi,

have you followed the documentation in After Demo Import and Post-Installation Setup chapters? http://docs.lsvr.sk/townpress.wp/#demo-import-after

Also please note that demo images are not included.

Lubos

Hello,

I ´m using my footer for displaying partners logos, actually the are 4 logos in 4 columns, and I have two questions about it:

1- It’s possible to create por columns for the footer in case that I want to put there 8 partners (for example)? How I do it?

2- The logos are looking really goo on desktop, but on mobile the are aligned to the left. How can align them to the center for mobile version?

This is te webpage https://www.balsapintada.org

Thank you in advance.

Hi,

1.) you can have only four columns max, but you can have more widgets than four. They will just stack as additional rows. But you can also try different approach: use one column with one widget – some sort of image slider or image grid / gallery which will display more images at once.

2.) try this CSS:

.footer-widgets .widget_media_image .widget__inner img { display: inline; }
.footer-widgets .widget_media_image { text-align: center; }

Lubos

Hi,

1.) I think that the best regular option is to use a gallery, but the problem is that I ´m not able to introduce the option for opening the URL of my partners in a new window.

I am trying now the image slider or image grid option. Do you recommend some plugin or tool more suitable for this theme?

2.) Great, working perfectly.

Thank you,

Can’t recommend anything specific, but I am sure you will find something usable in the official repository.

Disregard my last message on “document categories”

They are loading correctly now.

JW

Hi,

glad you’ve sorted it out!

Lubos

Hello, I recently had our new site built on a temporary domain, and moved it to the permanent domain. Now the “document categories” do not show on the individual document posts. The categories do show in the backend admin area of “document categories”

hi in my demo the header menu does not work good in mobile mode. you can look this in http://demo.sidiweb.it/ordinedeiprogrammatori

thi is my demo and i use iphone safari to navigate and the Enable Sticky Navbar is on. It’s a my problem o is a menù error? thanks

Hi,

it doesn’t seem like you’ve set the mobile menu correctly under Appearance / Menus. See the documentation http://docs.lsvr.sk/townpress.wp/#menus

Please note that your support has expired. If you need further assistance, please renew it under your ThemeForest account / Downloads. Thanks

Lubos

Hi.. we just purchased this theme … however missing blog posts , pictures,

Can you assist .. Essex

Hi, please note that images are not part of the theme. It is mentioned in the item description. However you can import blog posts. Please follow the documentation http://docs.lsvr.sk/townpress.wp/#demo-import

Dear Sir,

I would like your assistant in three subjects.

1) I would like on the footer widget to turn the colour of the letters in the Event Section white. On the desktop version this have been achieved. I would your suggestion for the mobile version ( https://villagepetriti.gr/m/ )

2) On the Footer (Under the Footer Widget) i would like to turn the colour of the letter into black. Because now it is white and when we put the footer menu there it doesn’t appear because the background colour is white too.

3) Could you also assist us on removing the background image on all the pages of the mobile version

Finally, i would like to ask why when i turn my mobile horizontally, the theme turn into a hybrid version where mobile and desktop versions in getting mixed. When i have my mobile vertical is what exactly i want. Just to let you know, i am using Widget Options plugin in order to choose where and whether i want the widgets of the to sidebar to appear.

You assistance to our effort is fast and really important. Much appreciated.

I am looking forward to your response

Best, Andreas

Hi,

1.) try this CSS:

.footer-widgets a { color: #FFF; }

2.) It is already dark on my end, but feel free to try this CSS:

.footer-text { color: #424242; }

3.) Try this

@media ( max-width: 991px ) {
.header-background { display: none; }
}

Mobile version depends entirely on the screen resolution. So if you turn your mobile horizontally and it has big enough resolution then yes, it appears as a desktop design. That’s how responsive websites work.

Lubos

Hello I’m using lsvr-directory with left menu/sub menu and when opening directory page, the map hide the sub menus

Try to add this CSS under Appearance / Customize / Additional CSS:

.leaflet-container { z-index: 10; }

Let me know if it fixed the issue please.

Yes the problem is solved. Thank you very much for your quick response :)

Great. I will include this fix in the next update.

BTW, if you are enjoying the theme then the 5 star rating will be very appreciated (you can leave it under your account / Downloads). Thanks a lot!

Hello,

How can I put the logo at the center? Thanks

Hi,

try this one:

.header-logo { display: block; margin: auto; }

Lubos

WORKING! Thanks :)

BTW I just included an option for that in the latest theme update, so feel free to remove this CSS, update the theme and then go to Appearance / Customize and enable Center Logo option.

Dear Sir,

I have already build a page with the name ’’Mobile’’. This page ti will basically be the Home Page that someone will be redirected to the site when connected from a mobile or tablet.

I would like this page to have only the logo, the two sidebar and the footer without the header (Background Main Image). I created a new page template that I called Clear page but it hid everything except the footer. Below you can find the code i used in the Clear Page.

<?php /** * Template Name: Clean Page * This template will only display the content you entered in the page editor */ ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset=”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport” content=”width=device-width, initial-scale=1”> <?php wp_head(); ?> </head> <body class=”cleanpage”> <?php while ( have_posts() ) : the_post(); the_content(); endwhile; ?> <?php get_footer(); ?>

My request is to build a page prototype with only the logo, the two sidebar and the footer. Also in this page i would like to have an open mobile menu as it is appeared in the left sidebar on the desktop. And if it possible, i would like this menu to appear without the click of the user. To be always open [only in that page (Mobile Home Page].

Realted Link: https://villagepetriti.gr

I remain at your disposal

Best, Andreas

If you made any code modifications to the parent theme, then you will lost them on the theme update. So I would advise to move all such modification into the child theme ASAP. I mentioned how important is to use the child theme in the documentation.

Ok I understand! Can you Suggest me an easy way to transfer it to the child theme? or the only way is to do it manually from scratch?

I do not know what kind of modifications you’ve made. If you edited template files like header.php, footer.php or anything under page-templates or template-parts folders you can just copy those files to the child theme (preserve the relative path). If you edited functions then you can just copy those functions in your child theme functions.php etc. This is a broad topic and not something which is covered under theme support. Please consult the WordPress codex https://developer.wordpress.org/themes/ or just try searching the sites like https://stackoverflow.com if you need more help with the customization. It is about following the best practice so you can still update the parent theme without breaking anything.

Hi!

I would like to add a sponsors slider before footer, responsive to 90% or 100% to screen width.

I ´m trying, but I just can add it at the end of the main central column, How can I do it propertly?

Thank you in advance.

Hi,

you will have to edit the code to pull it off. Just copy the footer.php file from the parent theme to your child theme and put your code after line 3. You may want to use ACF plugin, which will allow you to prepare the content in the backend and then put a small code snippet into the file to display it.

Lubos

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey