Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-12-27 11:57:41

ayman1ace
New Member
Registered: 2017-12-27
Posts: 4

I can't edit navbar for mobile

Hi there,

i’ve just installed textpattern and i want to know where to edit the files to make the navbar responsive as it appears here on this website.
i’d be happy to know how to do it, as i’m satisfied with the default template and the only thing i want to change is the Navbar to make it responsive for the mobile phone.

what to edit in css files?

i’ve installed the cxc plugin

Offline

#2 2017-12-27 16:01:53

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: I can't edit navbar for mobile

Hi, ayman1ace, and welcome to the forum.

You wouldn’t necessarily need the cxc_templates plugin in order to edit anything about the front side templates. They’re stored inside the database and are accessible in the Textpattern backend via Presentation > Pages > default (as well as “archive” and “error_default”). You find the related CSS under Presentation > Styles > Default. The front-side theme of the current Textpattern 4.6.2 is already adaptive, the navbar is inside a nav element with class site-navigation.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2017-12-27 23:11:32

ayman1ace
New Member
Registered: 2017-12-27
Posts: 4

Re: I can't edit navbar for mobile

Thanks.
Actually i was trying to make a responsive menu like the one here .
Thanks a lot this will help.

Offline

#4 2017-12-28 09:54:59

ayman1ace
New Member
Registered: 2017-12-27
Posts: 4

Re: I can't edit navbar for mobile

uli wrote #308448:

Hi, ayman1ace, and welcome to the forum.

You wouldn’t necessarily need the cxc_templates plugin in order to edit anything about the front side templates. They’re stored inside the database and are accessible in the Textpattern backend via Presentation > Pages > default (as well as “archive” and “error_default”). You find the related CSS under Presentation > Styles > Default. The front-side theme of the current Textpattern 4.6.2 is already adaptive, the navbar is inside a nav element with class site-navigation.

When i save my edits it gives me an error of no permission to access this file. What’s wrong here?

Offline

#5 2017-12-28 10:11:47

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,064
Website GitHub Mastodon Twitter

Re: I can't edit navbar for mobile

Hi ayman1ace

Could you post your diagnostics?

They are found under the Admin menu.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2017-12-28 11:40:38

ayman1ace
New Member
Registered: 2017-12-27
Posts: 4

Re: I can't edit navbar for mobile

colak wrote #308460:

Hi ayman1ace

Could you post your diagnostics?

They are found under the Admin menu.

p.
bq..
Textpattern version: 4.6.2 (8412e32468526e075446b881d13bd9ce)
Last update: 1970-01-01 00:00:00/2016-10-21 17:19:48
Document root: /home/slicygog/public_html
$path_to_site: /home/slicygog/public_html/blog
Textpattern path: /home/slicygog/public_html/blog/textpattern
Article URL pattern: section_id_title
Temporary directory path: /home/slicygog/public_html/blog/textpattern/tmp
Site URL: slicez.net/blog
PHP version: 5.3.29
GD Graphics Library: bundled (2.1.0 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/New_York
Server local time: 2017-12-28 06:31:56
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds):  (+0)
MySQL: 10.1.24-MariaDB-cll-lve
Database server time: 2017-12-28 06:31:56
Database server time offset: 1 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: en_GB.UTF-8
Server: Apache
PHP server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.32-673.26.1.lve1.4.30.el6.x86_64
Admin-side theme: hive 4.6.2

.htaccess file contents:
————————————

  1. BEGIN Textpattern
    #DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

<IfModule mod_mime.c> AddType image/svg+xml svg svgz AddEncoding gzip svgz
</IfModule>

  1. END Textpattern

————————————

Last edited by ayman1ace (2017-12-28 11:41:20)

Offline

#7 2017-12-28 15:44:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,064
Website GitHub Mastodon Twitter

Re: I can't edit navbar for mobile

I see three problems – although they might not be the reason of the error.

  1. Last update: 1970-01-01 00:00:00/2016-10-21 17:19:48 ????
  2. your PHP version is 5.3.29 and the minimum required version is PHP 5.3.3+
  3. MySQL: 10.1.24-MariaDB-cll-lve is not officially supported but somebody here might be able to assist you on that.

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#8 2017-12-29 14:37:39

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: I can't edit navbar for mobile

5.3.29 is higher than 5.3.3, so that’s not a problem.

Can you post the exact and complete error message?

Offline

#9 2017-12-29 17:00:16

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,218
GitHub

Re: I can't edit navbar for mobile

colak wrote #308463:

I see three problems – although they might not be the reason of the error.

  1. Last update: 1970-01-01 00:00:00/2016-10-21 17:19:48 ????

I get that a lot on 4.6.2. Nothing to worry about.

Offline

Board footer

Powered by FluxBB